]> git.proxmox.com Git - pve-manager-legacy.git/commitdiff
reload lxc resources also on activate
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 5 Jul 2016 15:06:57 +0000 (17:06 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 7 Jul 2016 06:09:53 +0000 (08:09 +0200)
in a previous commit (829ded13) we changed the reload
from the activate event to afterrender, because
activate will not be fired as a lazyitem

but this only fires once, so we also reload on activate.
with the lazyitem/tabchange fix from a previous commit,
this has now the correct behaviour

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

index 5393f3934d970af13d7f37140d3c97d1a519ef63..355b903a2406b8c79b5e03e910002e979c7c1f0d 100644 (file)
@@ -269,6 +269,7 @@ Ext.define('PVE.lxc.RessourceView', {
            rows: rows,
            listeners: {
                afterrender: reload,
+               activate: reload,
                itemdblclick: run_editor,
                selectionchange: set_button_status
            }