]> git.openstreetmap.org Git - osqa.git/commitdiff
we need to close both dialogs if users selects No on award points confirmation
authorjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Thu, 26 Apr 2012 14:17:05 +0000 (14:17 +0000)
committerjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Thu, 26 Apr 2012 14:17:05 +0000 (14:17 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1257 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/skins/default/templates/node/award_points.html

index a23ac5488daf039ffd81278737cd3537f6b757c9..ccf1028177c5817700bee1cee8047a5b127e75ef 100644 (file)
                 extra_class: 'confirm',
                 yes_text: messages.yes,
                 show_no: true,
                 extra_class: 'confirm',
                 yes_text: messages.yes,
                 show_no: true,
+                no_callback: function() {
+                    $(".dialog").fadeOut("fast", function() {
+                    $('.dialog').remove();
+                    })
+                },
+
                 no_text: messages.no
             }
 
                 no_text: messages.no
             }