Commit 370af70e7ca74cd7e5831102c25a77c424848e6f

Authored by Elena.Budnik
1 parent edd44876

ParamArgs plugin for parameterCreation if needsArgs

Showing 1 changed file with 3 additions and 2 deletions   Show diff stats
js/app/views/ParameterUI.js
... ... @@ -49,8 +49,9 @@ Ext.define('amdaUI.ParameterUI',
49 49 addParam : function(newParamName, isLeaf, needArgs, components)
50 50 {
51 51 //if (!isLeaf || needArgs || components)
52   - // this.editParameterArgs(newParamName, components);
53   - //else
  52 + if ( needArgs )
  53 + this.editParameterArgs(newParamName, components);
  54 + else
54 55 this.addParamInEditor(newParamName);
55 56 },
56 57  
... ...