]> git.proxmox.com Git - pve-manager.git/commit
tree: prepare for ExtJS 6.2.0
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 21 Feb 2018 14:32:23 +0000 (15:32 +0100)
committerDominik Csapak <d.csapak@proxmox.com>
Thu, 22 Feb 2018 10:47:04 +0000 (11:47 +0100)
commitcc3bcee00ac2bb6af1f5455f130d3883781f67d1
treef50e760870d9e861ad382f69b2487da90c0d9304
parent1f2c48153bbbacee267c450d8b196a2d9b850215
tree: prepare for ExtJS 6.2.0

Remove the expand/collapse hack needed for an earlier ExtJS version.

Further do not collapse the rootnode before restoring the state, it
may not be collapsible at this time, as it may be still seen as leaf
node, and thus throws exceptions with ExtJS 6.2.0

we fired the refresh to late for the store, i moved it up to fire
directly after we resume events on the store, i.e. when our store update
window is closed again. So it happens before applying the state and
expanding the rootnode.

see
https://pve.proxmox.com/pipermail/pve-devel/2018-February/030762.html

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/tree/ResourceTree.js