X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Fjot-header.tpl;h=6195c5bbc6d4b506c4db89d3cb1374e9060f359e;hb=cdf2fe859f439a9d3689ea946e23d9aef1fb6cac;hp=3f8fe5302f59c331604148d4d454bec1dacd0eb4;hpb=36b66dccb60a7d65724da542f9d7a2d6722fc6aa;p=friendica.git
diff --git a/view/jot-header.tpl b/view/jot-header.tpl
index 3f8fe5302f..6195c5bbc6 100644
--- a/view/jot-header.tpl
+++ b/view/jot-header.tpl
@@ -1,32 +1,112 @@
-
-
+ 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) {
+ if (!editor) $("#profile-jot-text").val("");
+ initEditor(function(){
+ tinyMCE.execCommand('mceInsertRawHTML',false,data);
+ $('#profile-rotator').hide();
+ });
+ });
+ }
+ }
-
\ No newline at end of file
+