]> git.proxmox.com Git - pve-manager.git/commit
fix tree update when migrating a VM/CT
authorEmmanuel Kasper <e.kasper@proxmox.com>
Thu, 24 Mar 2016 12:37:02 +0000 (13:37 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 30 Mar 2016 07:22:38 +0000 (09:22 +0200)
commitfe64be90d2bd73b311a388449ac26372d6471cb9
tree0605e3dbe4b991e3fb74dc36090ff9fb1514b30f
parent7667066d542127fadf2b848cf5dc38bf9d17f67e
fix tree update when migrating a VM/CT

original bug:
migrated items where not appearing under the target server

implentation:
remove items whose 'node' property has changed
as these items need to be removed before being re-added

also rename the local variable 'changed' to 'moved' to
better differentiate between what is updated in place, and
what needs to be redisplayed
www/manager6/tree/ResourceTree.js