shared tags for testbubble, prevent tag hijacking of shared tag activities

This commit is contained in:
Friendika 2011-11-10 17:11:55 -08:00
parent 83e55cf9f4
commit c66b886d7e
9 changed files with 74 additions and 24 deletions

View file

@ -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;
}
}
}