]> git.proxmox.com Git - proxmox-backup.git/commit
ui: MainView/NavigationTree: improve tree selection handling
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 27 Oct 2020 15:20:10 +0000 (16:20 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 27 Oct 2020 16:41:30 +0000 (17:41 +0100)
commit2565fdd075c84fcec4148219e4e22ae4d43246f2
tree94d28e39b18f50eff0f0287bc6e30b4e83a80ba5
parent7ece65a01e846e3dfc9c48eabe108155af9dc176
ui: MainView/NavigationTree: improve tree selection handling

this fixes some bugs related to selection handling in the treelist:
* datastores were not selected after a reload
* reloading when in a tabpanel on any tab but the first, would
  not select a treenode
* changing between datastores on any tab but the first would
  not select the same tab on the new datastore

fixed those by mostly rewriting the changePath handling for
datastores and tabpanels in general

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