X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Fjot-header.tpl;h=77e5bc4bcd0fca73eddc65f7315465c11bc0922b;hb=b8c4d73377d93cc54cb10fd1c3fac173c8f57627;hp=3f8fe5302f59c331604148d4d454bec1dacd0eb4;hpb=36b66dccb60a7d65724da542f9d7a2d6722fc6aa;p=friendica.git diff --git a/view/jot-header.tpl b/view/jot-header.tpl index 3f8fe5302f..77e5bc4bcd 100644 --- a/view/jot-header.tpl +++ b/view/jot-header.tpl @@ -1,32 +1,87 @@ - - + + function linkdrop(event) { + var reply = event.dataTransfer.getData("text/uri-list"); + event.target.textContent = reply; + event.preventDefault(); + if(reply && reply.length) { + $('#profile-rotator').show(); + $.get('parse_url?url=' + reply, function(data) { + tinyMCE.execCommand('mceInsertRawHTML',false,data); + $('#profile-rotator').hide(); + }); + } + } - \ No newline at end of file +