From c5d22fc8dc11701c8aa6d6dab004d30ece80d94f Mon Sep 17 00:00:00 2001 From: Sergio Betanzos Date: Tue, 21 Jul 2020 18:57:07 +0200 Subject: [PATCH] B #4987: Fix vm conf form when update as user (#109) --- src/sunstone/public/app/tabs/vms-tab/form-panels/updateconf.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sunstone/public/app/tabs/vms-tab/form-panels/updateconf.js b/src/sunstone/public/app/tabs/vms-tab/form-panels/updateconf.js index fd9999e779a..c9b6b14fd9d 100644 --- a/src/sunstone/public/app/tabs/vms-tab/form-panels/updateconf.js +++ b/src/sunstone/public/app/tabs/vms-tab/form-panels/updateconf.js @@ -129,7 +129,7 @@ define(function(require) { function _submitWizard() { var context = ".sunstone-content > #vms-tab #vms-tab-wizardForms.is-active"; - var templateJSON = {}; + var templateJSON = this.template; $.each(this.wizardTabs, function(index, wizardTab) { $.extend( true, @@ -154,6 +154,7 @@ define(function(require) { function _fill(context, element) { this.setHeader(element); this.resourceId = element.ID; + this.template = element.TEMPLATE; var templateJSON = element.TEMPLATE;