From c66b886d7e47f6721d2f3eb39cae8599001f79d9 Mon Sep 17 00:00:00 2001 From: Friendika Date: Thu, 10 Nov 2011 17:11:55 -0800 Subject: shared tags for testbubble, prevent tag hijacking of shared tag activities --- view/jot-header.tpl | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'view/jot-header.tpl') diff --git a/view/jot-header.tpl b/view/jot-header.tpl index 81d7d6d91..ecfed6c42 100644 --- a/view/jot-header.tpl +++ b/view/jot-header.tpl @@ -235,14 +235,18 @@ function initEditor(cb){ } function itemTag(id) { - $('#like-rotator-' + id).show(); reply = prompt("$term"); if(reply && reply.length) { reply = reply.replace('#',''); if(reply.length) { - $.get('tagger/' + id + '?term=' + reply, function(data) { - $('#like-rotator-' + id).hide(); - }); + + commentBusy = true; + $('body').css('cursor', 'wait'); + + $.get('tagger/' + id + '?term=' + reply); + if(timer) clearTimeout(timer); + timer = setTimeout(NavUpdate,3000); + liking = 1; } } } -- cgit v1.2.3