[pbs-devel] applied: [PATCH proxmox-backup] ui: fix losing selection on store load

Thomas Lamprecht t.lamprecht at proxmox.com
Thu May 12 14:55:19 CEST 2022


Am 5/12/22 um 14:23 schrieb Dominik Csapak:
> instead of using 'replaceChild', simply set the appropriate properties.
> when using the 'nodeUpdate' (protected function of extjs, intended
> to be overwritten) instead of the private 'updateNode', it will
> be called when the properties change
> 
> this way, the treenode stays the same and we can keep the selection
> 
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
>  www/NavigationTree.js | 24 +++++++++++++-----------
>  1 file changed, 13 insertions(+), 11 deletions(-)
> 
>

applied, thanks!





More information about the pbs-devel mailing list