diff options
Diffstat (limited to 'view/fr/jot-header.tpl')
-rw-r--r-- | view/fr/jot-header.tpl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/view/fr/jot-header.tpl b/view/fr/jot-header.tpl index ff7e543a5..a4c5f42a4 100644 --- a/view/fr/jot-header.tpl +++ b/view/fr/jot-header.tpl @@ -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"); |