From: jordan Date: Sat, 7 May 2011 13:42:43 +0000 (+0000) Subject: hide the ZeroClipboard clip if someone clicks on the cancel button X-Git-Tag: live~284 X-Git-Url: https://git.openstreetmap.org./osqa.git/commitdiff_plain/c8f355dd7205132ecd2c1bc27dc4e8944fdd6252 hide the ZeroClipboard clip if someone clicks on the cancel button git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1029 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- diff --git a/forum/skins/default/templates/node/permanent_link.html b/forum/skins/default/templates/node/permanent_link.html index 579a35c..194f411 100644 --- a/forum/skins/default/templates/node/permanent_link.html +++ b/forum/skins/default/templates/node/permanent_link.html @@ -44,5 +44,10 @@ $(document).ready(function() { }); }); + // Hide the clip if someone clicks on the cancel button + $('.dialog-no').live('click', function() { + clip.hide(); + }); + });