diff --git a/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/context.js b/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/context.js index 77f50662bf..2f8a7d8c47 100644 --- a/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/context.js +++ b/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/context.js @@ -79,6 +79,7 @@ define(function(require) { function _html() { return TemplateHTML({ + 'userInputsHTML': UserInputs.html(), 'customTagsTableHTML': CustomTagsTable.html(), 'contextFilesTableHTML': this.contextFilesTable.dataTableHTML }); @@ -146,6 +147,7 @@ define(function(require) { opt.attr('selected', 'selected'); }); + UserInputs.setup(context); CustomTagsTable.setup(context); var selectOptions = { @@ -161,82 +163,6 @@ define(function(require) { that.contextFilesTable.initialize(selectOptions); that.contextFilesTable.refreshResourceTableSelect(); - - // TODO: bug, user_input_name pattern is ignored - - context.on("click", ".add_service_custom_attr", function() { - $(".service_custom_attrs tbody", context).append( - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '