[pve-devel] [PATCH manager 4/7] ext6migrate: change ceph event handlers

Dominik Csapak d.csapak at proxmox.com
Wed Mar 16 15:58:12 CET 2016


change event handlers from show to activate
to allow refresh

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/ceph/Config.js | 2 +-
 www/manager6/ceph/Status.js | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/manager6/ceph/Config.js b/www/manager6/ceph/Config.js
index 21cb049..49a0317 100644
--- a/www/manager6/ceph/Config.js
+++ b/www/manager6/ceph/Config.js
@@ -32,7 +32,7 @@ Ext.define('PVE.node.CephConfig', {
 	Ext.apply(me, {
 	    url: '/nodes/' + nodename + '/ceph/config',
 	    listeners: {
-		show: function() {
+		activate: function() {
 		    me.load();
 		}
 	    }
diff --git a/www/manager6/ceph/Status.js b/www/manager6/ceph/Status.js
index c0833b4..495bd42 100644
--- a/www/manager6/ceph/Status.js
+++ b/www/manager6/ceph/Status.js
@@ -121,7 +121,7 @@ Ext.define('PVE.node.CephStatus', {
 
 	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