]> git.mxchange.org Git - friendica.git/blobdiff - view/fr/jot-header.tpl
share,retweet,relay,forward, whatever
[friendica.git] / view / fr / jot-header.tpl
index ff7e543a5ed9928d38bfb45f931e92085aeac3ad..a4c5f42a43731a8d4bd1b04b538ce14fb8eda327 100644 (file)
@@ -110,6 +110,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");