]> git.mxchange.org Git - friendica.git/blobdiff - view/jot-header.tpl
new notification module working for "email message received"
[friendica.git] / view / jot-header.tpl
index 81d7d6d91863fe053a526b3264df8709a0ab3c78..ecfed6c423b23eb179cd45a4b0cc96c529e3bc93 100644 (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;
                        }
                }
        }