]> git.proxmox.com Git - proxmox-widget-toolkit.git/commit
window/Edit: read digest also from top level response
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 15 May 2020 08:19:24 +0000 (10:19 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 18 May 2020 15:03:32 +0000 (17:03 +0200)
commit8ae2f8c8b19e9c96be332332f3c8ff092eb089e9
treea343122ead20da6255b28ddb3a974ddac4d5bdd6
parentd8f909e10a569ae87eb163f3aa4f689f8c6a298d
window/Edit: read digest also from top level response

we want to have the digest in the top level object, like:
{
    data: { /* the real data */ },
    digest: "fa123asf123123123", // the digest
}

instead of in the data itself, so read it preferably from there
(with fallback to stay compatible)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
window/Edit.js