From: jordan Date: Thu, 26 Apr 2012 14:17:05 +0000 (+0000) Subject: we need to close both dialogs if users selects No on award points confirmation X-Git-Tag: live~60 X-Git-Url: https://git.openstreetmap.org./osqa.git/commitdiff_plain/183cc705dd8ed132e35954bee33f522495090d91 we need to close both dialogs if users selects No on award points confirmation git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1257 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- diff --git a/forum/skins/default/templates/node/award_points.html b/forum/skins/default/templates/node/award_points.html index a23ac54..ccf1028 100644 --- a/forum/skins/default/templates/node/award_points.html +++ b/forum/skins/default/templates/node/award_points.html @@ -39,6 +39,12 @@ extra_class: 'confirm', yes_text: messages.yes, show_no: true, + no_callback: function() { + $(".dialog").fadeOut("fast", function() { + $('.dialog').remove(); + }) + }, + no_text: messages.no }