From 14d98f0611d195774eb4da011a56fe1ffac76ea4 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 21 Jan 2015 23:04:35 +0100 Subject: can add tags from the saving link popup --- themes/_global/js/saveLink.js | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'themes/_global/js/saveLink.js') diff --git a/themes/_global/js/saveLink.js b/themes/_global/js/saveLink.js index a7acd84c..9f66b73f 100755 --- a/themes/_global/js/saveLink.js +++ b/themes/_global/js/saveLink.js @@ -4,6 +4,8 @@ $.fn.ready(function() { $bagitForm = $('#bagit-form'), $bagitFormForm = $('#bagit-form-form'); +$("#tags2add").hide(); + /* ========================================================================== bag it link and close button ========================================================================== */ @@ -78,6 +80,11 @@ $.fn.ready(function() { event.preventDefault(); }); +$('#showtaginput').click(function(){ + $('#tags2add').toggle(); +}); + + /* ========================================================================== Keyboard gestion ========================================================================== */ -- cgit v1.2.3