[pve-devel] [PATCH manager 2/7] ext6migrate: do not set errormask on monstoreerror

Dominik Csapak d.csapak at proxmox.com
Fri Mar 11 15:57:29 CET 2016


if we set this here, there are 2 overlaying loading masks

this is not only a visual fix, but also a race condition
we often load a store on an event such as 'activate',
but this monStoreError tries to set an errormask on 'beforeload'

but the dom elements are often not there on the 'activate' event
which leads to an error

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

diff --git a/www/manager6/Utils.js b/www/manager6/Utils.js
index 131f367..d1c473c 100644
--- a/www/manager6/Utils.js
+++ b/www/manager6/Utils.js
@@ -1067,7 +1067,7 @@ Ext.define('PVE.Utils', { statics: {
 	me.mon(store, 'beforeload', function(s, operation, eOpts) {
 	    if (!me.loadCount) {
 		me.loadCount = 0; // make sure it is numeric
-		PVE.Utils.setErrorMask(me, true);
+		//PVE.Utils.setErrorMask(me, true);
 	    }
 	});
 
-- 
2.1.4





More information about the pve-devel mailing list