]> git.mxchange.org Git - friendica.git/blobdiff - view/en/jot-header.tpl
share,retweet,relay,forward, whatever
[friendica.git] / view / en / jot-header.tpl
index fe818410e5e3319e6c03af968f2dcd318ecd09b1..20f84b851e81cf59ae673179a0e69f7725d859fe 100644 (file)
@@ -111,6 +111,14 @@ 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");