aboutsummaryrefslogtreecommitdiffstats
path: root/view/jot-header.tpl
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-11-10 17:11:55 -0800
committerFriendika <info@friendika.com>2011-11-10 17:11:55 -0800
commitc66b886d7e47f6721d2f3eb39cae8599001f79d9 (patch)
treecebf70de2b500bd2945735f5fac072985afac96b /view/jot-header.tpl
parent83e55cf9f43f45465fc52030d55f0ae331e7947b (diff)
downloadvolse-hubzilla-c66b886d7e47f6721d2f3eb39cae8599001f79d9.tar.gz
volse-hubzilla-c66b886d7e47f6721d2f3eb39cae8599001f79d9.tar.bz2
volse-hubzilla-c66b886d7e47f6721d2f3eb39cae8599001f79d9.zip
shared tags for testbubble, prevent tag hijacking of shared tag activities
Diffstat (limited to 'view/jot-header.tpl')
-rw-r--r--view/jot-header.tpl12
1 files changed, 8 insertions, 4 deletions
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;
}
}
}