diff --git a/src/sunstone/public/app/tabs/oneflow-templates-tab/actions.js b/src/sunstone/public/app/tabs/oneflow-templates-tab/actions.js index 2621400ba1..d03863905c 100644 --- a/src/sunstone/public/app/tabs/oneflow-templates-tab/actions.js +++ b/src/sunstone/public/app/tabs/oneflow-templates-tab/actions.js @@ -48,10 +48,12 @@ define(function(require) { "ServiceTemplate.show_to_update" : { type: "single", - call: OpenNebulaResource.show, + call: function(params) { + Sunstone.runAction("Network.list"); + Sunstone.runAction("VNTemplate.list"); + OpenNebulaResource.show(params); + }, callback: function(request, response) { - Sunstone.runAction("Network.list") - Sunstone.runAction("VNTemplate.list") Sunstone.showFormPanel(TAB_ID, CREATE_DIALOG_ID, "update", function(formPanelInstance, context) { formPanelInstance.fill(context, response[XML_ROOT]); diff --git a/src/sunstone/public/app/tabs/oneflow-templates-tab/form-panels/create.js b/src/sunstone/public/app/tabs/oneflow-templates-tab/form-panels/create.js index 8f1cdf69c6..1edd6abc56 100644 --- a/src/sunstone/public/app/tabs/oneflow-templates-tab/form-panels/create.js +++ b/src/sunstone/public/app/tabs/oneflow-templates-tab/form-panels/create.js @@ -124,16 +124,14 @@ define(function(require) { \ \ \ - \ + \
'+Locale.tr("Can only contain alphanumeric and underscore characters, and be unique")+'
\ \ \