From c8f355dd7205132ecd2c1bc27dc4e8944fdd6252 Mon Sep 17 00:00:00 2001 From: jordan Date: Sat, 7 May 2011 13:42:43 +0000 Subject: [PATCH] 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 --- forum/skins/default/templates/node/permanent_link.html | 5 +++++ 1 file changed, 5 insertions(+) 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(); + }); + }); -- 2.39.5