X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Fjot-header.tpl;h=ecfed6c423b23eb179cd45a4b0cc96c529e3bc93;hb=bb40e54dec9f72a3c415df5d3799eab0010c5ddf;hp=9ded3e9b43061f57dc7000724c71bd3aa65f503b;hpb=00c342e13d833fd215e5dc03a508e1abe660fe21;p=friendica.git diff --git a/view/jot-header.tpl b/view/jot-header.tpl index 9ded3e9b43..ecfed6c423 100644 --- a/view/jot-header.tpl +++ b/view/jot-header.tpl @@ -222,8 +222,9 @@ function initEditor(cb){ event.target.textContent = reply; event.preventDefault(); if(reply && reply.length) { + reply = bin2hex(reply); $('#profile-rotator').show(); - $.get('parse_url?url=' + reply, function(data) { + $.get('parse_url?binurl=' + reply, function(data) { if (!editor) $("#profile-jot-text").val(""); initEditor(function(){ tinyMCE.execCommand('mceInsertRawHTML',false,data); @@ -234,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; } } }