X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Fjot-header.tpl;h=6195c5bbc6d4b506c4db89d3cb1374e9060f359e;hb=cdf2fe859f439a9d3689ea946e23d9aef1fb6cac;hp=78e0151d80696c68294b14e93198966fc204e973;hpb=6368bd165612dfa1e95e8d4c99b922797bf429af;p=friendica.git diff --git a/view/jot-header.tpl b/view/jot-header.tpl index 78e0151d80..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 +