Commit 3e94d04bf07ba78f79694e15098f043a2952b692

Authored by Myriam Bouchemit
2 parents 2f0b4a6b e454a2ac

Merge branch 'master' of https://gitlab.irap.omp.eu/CDPP/AMDA_IHM

Showing 1 changed file with 6 additions and 7 deletions   Show diff stats
js/app/models/LocalParamNode.js
... ... @@ -154,17 +154,16 @@ Ext.define('amdaModel.LocalParamNode',
154 154 this.createDownload(this);
155 155 break;
156 156 case 'leaf-createDerivedParam':
157   - if (!this.get('notyet'))
  157 + if (!this.get('disable'))
158 158 this.createLeaf(this);
159   - else
160   - myDesktopApp.warningMsg("Sorry! access to this parameter is restricted");
  159 +// else
  160 +// myDesktopApp.warningMsg("Sorry! access to this parameter is restricted");
161 161 break;
162 162 case 'leaf-createAlias':
163   - if (!this.get('notyet'))
  163 + if (!this.get('disable'))
164 164 this.createAlias(this);
165   - else
166   - myDesktopApp.warningMsg("Sorry! access to this parameter is restricted");
167   -
  165 +// else
  166 +// myDesktopApp.warningMsg("Sorry! access to this parameter is restricted");
168 167 break;
169 168 case 'miss-epnTap':
170 169 this.displayEpnTap();
... ...