diff --git a/src/sunstone/public/js/plugins/templates-tab.js b/src/sunstone/public/js/plugins/templates-tab.js index 76aabb5dc9..22034436f5 100644 --- a/src/sunstone/public/js/plugins/templates-tab.js +++ b/src/sunstone/public/js/plugins/templates-tab.js @@ -3875,8 +3875,8 @@ function popUpCreateTemplateDialog(){ $("input#NAME",$create_template_dialog).focus(); - $('button.refresh').each(function(){ - this.click(); + $('button.refresh', $(create_template_dialog)).each(function(){ + this.click(); }) };