From 89973a642f63a07e272f00f832ed5e4de1585eab Mon Sep 17 00:00:00 2001 From: Jorge Lobo <47326048+jloboescalona2@users.noreply.github.com> Date: Fri, 26 Jul 2019 18:39:01 +0200 Subject: [PATCH] B #3195: lost action (#3565) Signed-off-by: Jorge Lobo (cherry picked from commit 8b9531fb73688e81b2120f5b567fc50cc1b877da) --- .../public/app/tabs/templates-tab/form-panels/create-common.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/sunstone/public/app/tabs/templates-tab/form-panels/create-common.js b/src/sunstone/public/app/tabs/templates-tab/form-panels/create-common.js index 1ef8558c03..8209bf9010 100644 --- a/src/sunstone/public/app/tabs/templates-tab/form-panels/create-common.js +++ b/src/sunstone/public/app/tabs/templates-tab/form-panels/create-common.js @@ -250,10 +250,13 @@ define(function(require) { }); templateJSON.DISK = disks; Sunstone.runAction(actionUpdate, resourceId, TemplateUtils.templateToString(templateJSON)); + }else{ + Sunstone.runAction(actionUpdate, resourceId, TemplateUtils.templateToString(templateJSON)); } } } }; + OpenNebulaAction.show(params,OpenNebulaTemplate.resource); }else{ Sunstone.runAction(actionUpdate, resourceId, TemplateUtils.templateToString(templateJSON));