summaryrefslogtreecommitdiff
path: root/httemplate/elements/htmlarea.html
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2015-12-09 17:23:46 -0800
committerMark Wells <mark@freeside.biz>2015-12-09 17:24:03 -0800
commit991011f4ffc62b739f123a2124ca93f461d398ce (patch)
tree6fa9e2926af5f9df9544c7a5177d1eca5179d8e0 /httemplate/elements/htmlarea.html
parentd0c5ecc6d52a28f583ec45afc3460dc613b38eba (diff)
fix strange behavior after inserting a substitution, #38803, fallout from #24331
Diffstat (limited to 'httemplate/elements/htmlarea.html')
-rw-r--r--httemplate/elements/htmlarea.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/elements/htmlarea.html b/httemplate/elements/htmlarea.html
index c98993d40..0ba417795 100644
--- a/httemplate/elements/htmlarea.html
+++ b/httemplate/elements/htmlarea.html
@@ -20,7 +20,8 @@ Example:
<SCRIPT TYPE="text/javascript">
- CKEDITOR.replace('<% $opt{'field'} %>',
+ var <% $opt{'field'} %>_editor =
+ CKEDITOR.replace('<% $opt{'field'} %>',
<% encode_json($config) %>
);