]> git.mxchange.org Git - friendica.git/blobdiff - view/it/jot-header.tpl
share,retweet,relay,forward, whatever
[friendica.git] / view / it / jot-header.tpl
index 117cd1651195a4ce140bb82ce0aa6fd41bf6d46b..ff28def6191213a49c71a278a1ab72b001f2a55e 100644 (file)
@@ -111,6 +111,15 @@ tinyMCE.init({
                }
        }
 
+       function jotShare(id) {
+               $('#like-rotator-' + id).show();
+               $.get('share/' + id, function(data) {
+                       tinyMCE.execCommand('mceInsertRawHTML',false,data);
+                       $('#like-rotator-' + id).hide();
+                       $(window).scrollTop(0);
+               });
+       }
+
 
        function linkdropper(event) {
                var linkFound = event.dataTransfer.types.contains("text/uri-list");