]> git.proxmox.com Git - pve-manager.git/commit
ext6migrate: change setContent behaviour of workspace
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 11 Mar 2016 14:57:33 +0000 (15:57 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 11 Mar 2016 15:36:35 +0000 (16:36 +0100)
commit834ba9e4ec0f3a418e6dab71c134ad790a396e46
tree3ded48cc8e5252a10b2ac21e8103618a10c15156
parentbc53e0716dc8796b7fc4adc875191b0b6db36c00
ext6migrate: change setContent behaviour of workspace

instead of removing the current content and setting the new
we add the new content to the next card of the content container
(which now has the card layout, same as in the wizard)

then seamlessly change the active card, and then destroy the old card
with a delay

this has three reasons:
on a change, the panel does not flicker anymore
we give the old content time to finish ajax request (avoid race
conditions)
and we (hopefully) load the new content faster as the destroy
process can take some time

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
www/manager6/Workspace.js