diff --git a/js/app/views/ParameterUI.js b/js/app/views/ParameterUI.js index 0525614..50a2dbf 100755 --- a/js/app/views/ParameterUI.js +++ b/js/app/views/ParameterUI.js @@ -49,8 +49,9 @@ Ext.define('amdaUI.ParameterUI', addParam : function(newParamName, isLeaf, needArgs, components) { //if (!isLeaf || needArgs || components) - // this.editParameterArgs(newParamName, components); - //else + if ( needArgs ) + this.editParameterArgs(newParamName, components); + else this.addParamInEditor(newParamName); }, -- libgit2 0.21.2