Commit 7bc1d734674d26ac798132334c51d36539a0a349

Authored by Benjamin Renard
1 parent 9db6250c

Fix bug in derived parameter UI

js/app/views/ParamArgumentsPlug.js
... ... @@ -82,7 +82,7 @@ Ext.define('amdaUI.ParamArgumentsPlug', {
82 82 listeners: {
83 83 scope: this,
84 84 beforeclose: function() {
85   - this.hostCmp.setDisabled(false);
  85 + //this.hostCmp.setDisabled(false);
86 86 Ext.PluginManager.unregister(this);
87 87 } ,
88 88 show: function() {
... ... @@ -112,7 +112,7 @@ Ext.define('amdaUI.ParamArgumentsPlug', {
112 112 me.win.setHeight(me.computeHeight());
113 113 });
114 114  
115   - this.hostCmp.setDisabled(true);
  115 + //this.hostCmp.setDisabled(true);
116 116 this.win.show();
117 117 },
118 118  
... ... @@ -178,4 +178,4 @@ Ext.define('amdaUI.ParamArgumentsPlug', {
178 178 });
179 179 return this.form;
180 180 }
181   -});
182 181 \ No newline at end of file
  182 +});
... ...
js/app/views/ParamArgumentsUI.js
... ... @@ -41,7 +41,7 @@ Ext.define('amdaUI.ParamArgumentsUI', {
41 41 this.paramRequestObject = paramRequestObject;
42 42  
43 43 var me = this;
44   - me.mask();
  44 + me.getEl().mask();
45 45 me.resetArguments();
46 46  
47 47 var explorerModule = myDesktopApp.getLoadedModule(myDesktopApp.dynamicModules.explorer.id);
... ... @@ -76,11 +76,11 @@ Ext.define('amdaUI.ParamArgumentsUI', {
76 76 }
77 77 if (onReady)
78 78 onReady(uiScope);
79   - me.unmask();
  79 + me.getEl().unmask();
80 80 });
81 81 }
82 82 else
83   - me.unmask();
  83 + me.getEl().unmask();
84 84 },
85 85  
86 86 initDimension: function(relatedDim, data) {
... ...