From 826c37f10cf78859756f246938031b755803d7a7 Mon Sep 17 00:00:00 2001 From: cash Date: Fri, 3 Jun 2011 02:09:21 +0000 Subject: 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 --- mod/tinymce/views/default/tinymce/embed_custom_insert_js.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/tinymce/views/default') 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); -- cgit v1.2.3