diff --git a/src/sunstone/public/js/plugins/templates-tab.js b/src/sunstone/public/js/plugins/templates-tab.js index 283f6316eb..9749373e49 100644 --- a/src/sunstone/public/js/plugins/templates-tab.js +++ b/src/sunstone/public/js/plugins/templates-tab.js @@ -374,10 +374,10 @@ var template_actions = { callback: function(request, response) { template_to_update_id = response.VMTEMPLATE.ID; + popUpUpdateTemplateDialog(); fillTemplatePopUp( response.VMTEMPLATE.TEMPLATE, $create_template_dialog); - popUpUpdateTemplateDialog(); }, error: onError },