[pve-devel] [PATCH manager 2/7] ext6migrate: fix DiffStore event

Dominik Csapak d.csapak at proxmox.com
Fri Mar 4 09:28:29 CET 2016


some extjs components expect the datachanged event
to be fired, we changed this to refresh (which
worked for most things, but not all),
this patch fires both events when data is loaded

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/data/DiffStore.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/manager6/data/DiffStore.js b/www/manager6/data/DiffStore.js
index a71a60e..4476fe2 100644
--- a/www/manager6/data/DiffStore.js
+++ b/www/manager6/data/DiffStore.js
@@ -95,6 +95,7 @@ Ext.define('PVE.data.DiffStore', {
 
 	    me.resumeEvents();
 	    me.fireEvent('refresh', me);
+	    me.fireEvent('datachanged', me);
 	});
     }
 });
-- 
2.1.4





More information about the pve-devel mailing list