aboutsummaryrefslogtreecommitdiff
path: root/mod/tinymce
diff options
context:
space:
mode:
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);