[pve-devel] [PATCH manager 1/4] ext6migrate: fix double loadMask

Dominik Csapak d.csapak at proxmox.com
Mon Mar 14 16:22:32 CET 2016


fix the double loadMask, (it exists, because extjs has a default
loadmask for gridpanels)

also move static configuration to class definition

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/storage/ContentView.js | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/www/manager6/storage/ContentView.js b/www/manager6/storage/ContentView.js
index 06738ab..c741efa 100644
--- a/www/manager6/storage/ContentView.js
+++ b/www/manager6/storage/ContentView.js
@@ -323,6 +323,11 @@ Ext.define('PVE.storage.ContentView', {
 
     alias: 'widget.pveStorageContentView',
 
+    stateful: false,
+    viewConfig: {
+	trackOver: false,
+	loadMask: false,
+    },
     initComponent : function() {
 	var me = this;
 
@@ -398,10 +403,6 @@ Ext.define('PVE.storage.ContentView', {
 	Ext.apply(me, {
 	    store: store,
 	    selModel: sm,
-	    stateful: false,
-	    viewConfig: {
-		trackOver: false
-	    },
 	    features: [ groupingFeature ],
 	    tbar: [
 		{
-- 
2.1.4





More information about the pve-devel mailing list