diff options
author | Friendika <info@friendika.com> | 2011-03-16 19:36:59 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-03-16 19:36:59 -0700 |
commit | 3f432a7b82480dd985dbc2a67ae23cfc1ed258c6 (patch) | |
tree | 1fc92a535b189b0283273ff97517c74e4d79b20d /view/de/jot-header.tpl | |
parent | e2ea341094c53e78ae7473a83d2b6c85b1cde4eb (diff) | |
download | volse-hubzilla-3f432a7b82480dd985dbc2a67ae23cfc1ed258c6.tar.gz volse-hubzilla-3f432a7b82480dd985dbc2a67ae23cfc1ed258c6.tar.bz2 volse-hubzilla-3f432a7b82480dd985dbc2a67ae23cfc1ed258c6.zip |
share,retweet,relay,forward, whatever
Diffstat (limited to 'view/de/jot-header.tpl')
-rw-r--r-- | view/de/jot-header.tpl | 10 |
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"); |