diff --git a/src/sunstone/public/app/tabs/templates-tab/form-panels/instantiate.js b/src/sunstone/public/app/tabs/templates-tab/form-panels/instantiate.js index 0eba442b7f..6f3ff33a97 100644 --- a/src/sunstone/public/app/tabs/templates-tab/form-panels/instantiate.js +++ b/src/sunstone/public/app/tabs/templates-tab/form-panels/instantiate.js @@ -167,6 +167,7 @@ define(function(require) { var idsLength = this.selected_nodes.length; var idsDone = 0; + templatesContext.html(""); $.each(this.selected_nodes, function(index, template_id) { OpenNebulaTemplate.show({ data : { diff --git a/src/sunstone/public/app/tabs/templates-tab/form-panels/instantiate/html.hbs b/src/sunstone/public/app/tabs/templates-tab/form-panels/instantiate/html.hbs index 6a3e0ba9dd..3a01a4b29a 100644 --- a/src/sunstone/public/app/tabs/templates-tab/form-panels/instantiate/html.hbs +++ b/src/sunstone/public/app/tabs/templates-tab/form-panels/instantiate/html.hbs @@ -50,6 +50,10 @@