[pve-devel] [PATCH pve-manager 3/4] reload stores of tabpanel children on 'activate' event
Emmanuel Kasper
e.kasper at proxmox.com
Mon Feb 29 13:50:10 CET 2016
---
www/manager6/node/DNSView.js | 2 +-
www/manager6/node/ServiceView.js | 2 +-
www/manager6/node/TimeView.js | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/www/manager6/node/DNSView.js b/www/manager6/node/DNSView.js
index e756c18..4dff115 100644
--- a/www/manager6/node/DNSView.js
+++ b/www/manager6/node/DNSView.js
@@ -40,7 +40,7 @@ Ext.define('PVE.node.DNSView', {
me.callParent();
- me.on('show', me.rstore.startUpdate);
+ me.on('activate', me.rstore.startUpdate);
me.on('hide', me.rstore.stopUpdate);
me.on('destroy', me.rstore.stopUpdate);
}
diff --git a/www/manager6/node/ServiceView.js b/www/manager6/node/ServiceView.js
index 9a6a9fc..c701ccb 100644
--- a/www/manager6/node/ServiceView.js
+++ b/www/manager6/node/ServiceView.js
@@ -143,7 +143,7 @@ Ext.define('PVE.node.ServiceView', {
],
listeners: {
selectionchange: set_button_status,
- show: rstore.startUpdate,
+ activate: rstore.startUpdate,
hide: rstore.stopUpdate,
destroy: rstore.stopUpdate
}
diff --git a/www/manager6/node/TimeView.js b/www/manager6/node/TimeView.js
index 16179e2..df0a7ed 100644
--- a/www/manager6/node/TimeView.js
+++ b/www/manager6/node/TimeView.js
@@ -51,7 +51,7 @@ Ext.define('PVE.node.TimeView', {
me.callParent();
- me.on('show', me.rstore.startUpdate);
+ me.on('activate', me.rstore.startUpdate);
me.on('hide', me.rstore.stopUpdate);
me.on('destroy', me.rstore.stopUpdate);
}
--
2.1.4
More information about the pve-devel
mailing list