[pve-devel] [PATCH pve-manager 4/4] use 'refresh' event to reload the grid after the store content has changed

Emmanuel Kasper e.kasper at proxmox.com
Mon Feb 29 13:50:11 CET 2016


this fixes the problem that buttons and grid contents were not updated
after a service stop/start
---
 www/manager6/node/ServiceView.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/manager6/node/ServiceView.js b/www/manager6/node/ServiceView.js
index c701ccb..ab0c1a8 100644
--- a/www/manager6/node/ServiceView.js
+++ b/www/manager6/node/ServiceView.js
@@ -114,7 +114,7 @@ Ext.define('PVE.node.ServiceView', {
 	    }
 	};
 
-	me.mon(store, 'datachanged', set_button_status);
+	me.mon(store, 'refresh', set_button_status);
 
 	PVE.Utils.monStoreErrors(me, rstore);
 
-- 
2.1.4





More information about the pve-devel mailing list