summaryrefslogtreecommitdiff
path: root/httemplate/elements/htmlarea.html
diff options
context:
space:
mode:
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) %>
);