]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/node/award_points.html
we need to close both dialogs if users selects No on award points confirmation
[osqa.git] / forum / skins / default / templates / node / award_points.html
index a23ac5488daf039ffd81278737cd3537f6b757c9..ccf1028177c5817700bee1cee8047a5b127e75ef 100644 (file)
                 extra_class: 'confirm',
                 yes_text: messages.yes,
                 show_no: true,
+                no_callback: function() {
+                    $(".dialog").fadeOut("fast", function() {
+                    $('.dialog').remove();
+                    })
+                },
+
                 no_text: messages.no
             }