]> git.mxchange.org Git - friendica.git/blobdiff - view/de/jot-header.tpl
share,retweet,relay,forward, whatever
[friendica.git] / view / de / jot-header.tpl
index 58403f1ba65739d9268eb5349adf3cd9a25f9e53..25d28c3a7be2d223ce61312ed65eb5afe3795ca5 100644 (file)
@@ -111,6 +111,16 @@ 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");