From 46d423d993cfd5f3a01ec059ba0c70806fdbd84b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn?= Date: Tue, 18 Mar 2014 15:22:55 +0100 Subject: [PATCH] Feature #2746: Fix selector for refresh button --- src/sunstone/public/js/plugins/templates-tab.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); }) };