From 1461a84e4098220131dc47a9eb5e688d3d8b3c13 Mon Sep 17 00:00:00 2001 From: Sergio Betanzos Date: Mon, 7 Jun 2021 11:32:50 +0200 Subject: [PATCH] B #5417: Fix save as template button on vms datatable (#1276) --- src/sunstone/public/app/tabs/vms-tab/actions.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/sunstone/public/app/tabs/vms-tab/actions.js b/src/sunstone/public/app/tabs/vms-tab/actions.js index f4069eabb2..dac473aaaf 100644 --- a/src/sunstone/public/app/tabs/vms-tab/actions.js +++ b/src/sunstone/public/app/tabs/vms-tab/actions.js @@ -390,9 +390,8 @@ define(function(require) { "VM.save_as_template" : { type: "single", call: function() { - Sunstone.getDialog(SAVE_AS_TEMPLATE_DIALOG_ID) - .reset() - .show(); + var dialog = Sunstone.getDialog(SAVE_AS_TEMPLATE_DIALOG_ID); + dialog.show(); }, error: function(req, resp) { Notifier.onError(req, resp);