aboutsummaryrefslogtreecommitdiffstats
path: root/view/de
diff options
context:
space:
mode:
Diffstat (limited to 'view/de')
-rw-r--r--view/de/jot-header.tpl10
1 files changed, 10 insertions, 0 deletions
diff --git a/view/de/jot-header.tpl b/view/de/jot-header.tpl
index 58403f1ba..25d28c3a7 100644
--- a/view/de/jot-header.tpl
+++ b/view/de/jot-header.tpl
@@ -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");