From 3f432a7b82480dd985dbc2a67ae23cfc1ed258c6 Mon Sep 17 00:00:00 2001 From: Friendika Date: Wed, 16 Mar 2011 19:36:59 -0700 Subject: share,retweet,relay,forward, whatever --- view/it/jot-header.tpl | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'view/it') diff --git a/view/it/jot-header.tpl b/view/it/jot-header.tpl index 117cd1651..ff28def61 100644 --- a/view/it/jot-header.tpl +++ b/view/it/jot-header.tpl @@ -111,6 +111,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"); -- cgit v1.2.3