aboutsummaryrefslogtreecommitdiff
path: root/views/default/js
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-06-20 14:23:04 +0000
committerCash Costello <cash.costello@gmail.com>2009-06-20 14:23:04 +0000
commit6dd9dabbcc2fe9ddf3c31913e7799fba8b105e3a (patch)
tree52a1cbe230eba66646c12ffb04ccfbec5d9641d5 /views/default/js
parent6984f98aed17217bcfbaf166414183ccd063e0ed (diff)
downloadelgg-6dd9dabbcc2fe9ddf3c31913e7799fba8b105e3a.tar.gz
elgg-6dd9dabbcc2fe9ddf3c31913e7799fba8b105e3a.tar.bz2
added cancel button to delete tag menu and cleaned up submit buttons
Diffstat (limited to 'views/default/js')
-rw-r--r--views/default/js/tagging.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/views/default/js/tagging.php b/views/default/js/tagging.php
index a79914196..193ce1458 100644
--- a/views/default/js/tagging.php
+++ b/views/default/js/tagging.php
@@ -257,6 +257,8 @@
{
offsetY = 60;
+ stopTagging();
+
divWidth = $('#delete_tag_menu').width();
imgOffset = $('#tidypics_image').offset();
imgWidth = $('#tidypics_image').width();
@@ -279,4 +281,19 @@
}
);
}
+
+ function hideDeleteMenu()
+ {
+ $('#delete_tag_menu').hide();
+
+ // restart tag hovering
+ $('#tidypics_image').hover(
+ function(){
+ $('.tidypics_tag').show();
+ },
+ function(){
+ $('.tidypics_tag').hide();
+ }
+ );
+ }
</script> \ No newline at end of file