X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Fjot-header.tpl;h=5eb07db44c6ee13efce041203904f613aea86193;hb=1e288dc8a3169a313876ea671979b40c29722752;hp=3f8fe5302f59c331604148d4d454bec1dacd0eb4;hpb=36b66dccb60a7d65724da542f9d7a2d6722fc6aa;p=friendica.git
diff --git a/view/jot-header.tpl b/view/jot-header.tpl
index 3f8fe5302f..5eb07db44c 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
+