---
 www/manager6/lxc/DNS.js          | 5 ++---
 www/manager6/lxc/Network.js      | 4 +---
 www/manager6/lxc/Options.js      | 5 ++---
 www/manager6/lxc/Resources.js    | 2 +-
 www/manager6/lxc/SnapshotTree.js | 4 ++--
 5 files changed, 8 insertions(+), 12 deletions(-)

diff --git a/www/manager6/lxc/DNS.js b/www/manager6/lxc/DNS.js
index dd5e45a..0663fb8 100644
--- a/www/manager6/lxc/DNS.js
+++ b/www/manager6/lxc/DNS.js
@@ -266,12 +266,11 @@ Ext.define('PVE.lxc.DNS', {
            rows: rows,
            listeners: {
                itemdblclick: run_editor,
-               selectionchange: set_button_status
+               selectionchange: set_button_status,
+               activate: reload
            }
        });
 
        me.callParent();
-
-       me.on('show', reload);
     }
 });
diff --git a/www/manager6/lxc/Network.js b/www/manager6/lxc/Network.js
index 211fddc..caac2a8 100644
--- a/www/manager6/lxc/Network.js
+++ b/www/manager6/lxc/Network.js
@@ -532,14 +532,12 @@ Ext.define('PVE.lxc.NetworkView', {
                }
            ],
            listeners: {
-               show: me.load,
+               activate: me.load,
                itemdblclick: run_editor
            }
        });
 
        me.callParent();
-
-       me.load();
    }
 }, function() {
 
diff --git a/www/manager6/lxc/Options.js b/www/manager6/lxc/Options.js
index c5a1c0f..a24aab4 100644
--- a/www/manager6/lxc/Options.js
+++ b/www/manager6/lxc/Options.js
@@ -195,13 +195,12 @@ Ext.define('PVE.lxc.Options', {
            tbar: [ edit_btn ],
            rows: rows,
            listeners: {
-               itemdblclick: run_editor
+               itemdblclick: run_editor,
+               activate: reload
            }
        });
 
        me.callParent();
-
-       me.on('show', reload);
     }
 });
 
diff --git a/www/manager6/lxc/Resources.js b/www/manager6/lxc/Resources.js
index ae9d358..03fd149 100644
--- a/www/manager6/lxc/Resources.js
+++ b/www/manager6/lxc/Resources.js
@@ -268,7 +268,7 @@ Ext.define('PVE.lxc.RessourceView', {
            ],
            rows: rows,
            listeners: {
-               show: reload,
+               activate: reload,
                itemdblclick: run_editor,
                selectionchange: set_button_status
            }
diff --git a/www/manager6/lxc/SnapshotTree.js b/www/manager6/lxc/SnapshotTree.js
index cbe7043..e654df4 100644
--- a/www/manager6/lxc/SnapshotTree.js
+++ b/www/manager6/lxc/SnapshotTree.js
@@ -284,9 +284,9 @@ Ext.define('PVE.lxc.SnapshotTree', {
                    }
                }
            ],
-           columnLines: true, // will work in 4.1?
+           columnLines: true,
            listeners: {
-               show: me.reload,
+               activate: me.reload,
                hide: me.load_task.cancel,
                destroy: me.load_task.cancel,
                // disable collapse
-- 
2.1.4


_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to