]> git.openstreetmap.org Git - osqa.git/commitdiff
hide the ZeroClipboard clip if someone clicks on the cancel button
authorjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Sat, 7 May 2011 13:42:43 +0000 (13:42 +0000)
committerjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Sat, 7 May 2011 13:42:43 +0000 (13:42 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1029 0cfe37f9-358a-4d5e-be75-b63607b5c754

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

index 579a35cd9d45ef3063fbdf5520ff4fac69fe32c9..194f4116728f01242fe09cc393a61a35b1ec2fc2 100644 (file)
@@ -44,5 +44,10 @@ $(document).ready(function() {
         });
     });
 
+    // Hide the clip if someone clicks on the cancel button
+    $('.dialog-no').live('click', function() {
+        clip.hide();
+    });
+
 });
 </script>