diff options
author | Friendika <info@friendika.com> | 2011-01-26 13:59:20 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-01-26 13:59:20 -0800 |
commit | 05350082fab123a1ba01340d3fef95f4edf6fb5b (patch) | |
tree | 82c1a04931b1942a2067d2cf60a26f96e127306c /addon/oembed/oembed.js | |
parent | c3691b3331d4aa26ff7fb1294b7ef5218aa241ec (diff) | |
parent | 43be72297a281b41e7b77ba6078aeb48ee007299 (diff) | |
download | volse-hubzilla-05350082fab123a1ba01340d3fef95f4edf6fb5b.tar.gz volse-hubzilla-05350082fab123a1ba01340d3fef95f4edf6fb5b.tar.bz2 volse-hubzilla-05350082fab123a1ba01340d3fef95f4edf6fb5b.zip |
Merge branch 'oembed' of https://github.com/fabrixxm/friendika into fabrixxm-oembed
Diffstat (limited to 'addon/oembed/oembed.js')
-rw-r--r-- | addon/oembed/oembed.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/addon/oembed/oembed.js b/addon/oembed/oembed.js new file mode 100644 index 000000000..54547a86e --- /dev/null +++ b/addon/oembed/oembed.js @@ -0,0 +1,10 @@ +function oembed(){ + $("#oembed").toggleClass('hide'); +} + +function oembed_do(){ + embed = "[embed]"+$('#oembed_url').attr('value')+"[/embed]"; + + tinyMCE.execCommand('mceInsertRawHTML',false,embed); + oembed(); +} |