X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Fjot-header.tpl;h=6195c5bbc6d4b506c4db89d3cb1374e9060f359e;hb=cdf2fe859f439a9d3689ea946e23d9aef1fb6cac;hp=8505b53bc247a56a0fb03f35f362f868e572075b;hpb=a93f5627c1cb05f2f2c14cc390d38799eaf461e8;p=friendica.git
diff --git a/view/jot-header.tpl b/view/jot-header.tpl
index 8505b53bc2..6195c5bbc6 100644
--- a/view/jot-header.tpl
+++ b/view/jot-header.tpl
@@ -1,32 +1,112 @@
-
-
+ function jotShare(id) {
+ $('#like-rotator-' + id).show();
+ $.get('share/' + id, function(data) {
+ if (!editor) $("#profile-jot-text").val("");
+ initEditor(function(){
+ tinyMCE.execCommand('mceInsertRawHTML',false,data);
+ $('#like-rotator-' + id).hide();
+ $(window).scrollTop(0);
+ });
-
\ No newline at end of file
+