aboutsummaryrefslogtreecommitdiff
path: root/mod/tinymce
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-06-03 02:09:21 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-06-03 02:09:21 +0000
commit826c37f10cf78859756f246938031b755803d7a7 (patch)
tree4029ce01c041259b254121f7ac25f662a1633254 /mod/tinymce
parent8a9f243e4353f96ddca9663dda2a94e9881c6434 (diff)
downloadelgg-826c37f10cf78859756f246938031b755803d7a7.tar.gz
elgg-826c37f10cf78859756f246938031b755803d7a7.tar.bz2
Refs #3360 #2911 applying ashleyward's patch for embed plugin - thanks!
git-svn-id: http://code.elgg.org/elgg/trunk@9135 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/tinymce')
-rw-r--r--mod/tinymce/views/default/tinymce/embed_custom_insert_js.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/tinymce/views/default/tinymce/embed_custom_insert_js.php b/mod/tinymce/views/default/tinymce/embed_custom_insert_js.php
index 84f98c405..d5513cef1 100644
--- a/mod/tinymce/views/default/tinymce/embed_custom_insert_js.php
+++ b/mod/tinymce/views/default/tinymce/embed_custom_insert_js.php
@@ -1,5 +1,5 @@
if (window.tinyMCE) {
- var editor = window.tinyMCE.get(textAreaName);
+ var editor = window.tinyMCE.get(textAreaId);
if (editor) {
editor.execCommand("mceInsertContent", true, content);