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') 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 From 1394c0bd64ad99e8f9fc094bb535ae5b3f5e24f1 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Tue, 10 Feb 2015 02:28:53 +0100 Subject: great improvements to tagging when saving a link system <3 --- themes/_global/js/saveLink.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'themes/_global/js') diff --git a/themes/_global/js/saveLink.js b/themes/_global/js/saveLink.js index 9f66b73f..b7dd7a34 100755 --- a/themes/_global/js/saveLink.js +++ b/themes/_global/js/saveLink.js @@ -82,6 +82,9 @@ $("#tags2add").hide(); $('#showtaginput').click(function(){ $('#tags2add').toggle(); + $('#plainurl').toggle(); + $('#showtaginput').toggleClass('icon-tags'); + $('#showtaginput').toggleClass('icon-check'); }); -- cgit v1.2.3