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:23:55 -0800
commit0414f671da0bb49fd2af12c9adc641fda3478bb1 (patch)
tree3fd9095429a351d4b23d0abb63e07eff08ab1622 /httemplate/elements/htmlarea.html
parente9f17b33c350027f713b88dc3a1c67837a8fd7d6 (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 d8b25121a..4f9b72163 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) %>
);