projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT#17599: display cancelled services from history [doc fix]
[freeside.git]
/
httemplate
/
elements
/
htmlarea.html
diff --git
a/httemplate/elements/htmlarea.html
b/httemplate/elements/htmlarea.html
index
d8b2512
..
dba744e
100644
(file)
--- a/
httemplate/elements/htmlarea.html
+++ b/
httemplate/elements/htmlarea.html
@@
-20,7
+20,8
@@
Example:
<SCRIPT TYPE="text/javascript">
<SCRIPT TYPE="text/javascript">
- CKEDITOR.replace('<% $opt{'field'} %>',
+ var <% $opt{'field'} %>_editor =
+ CKEDITOR.replace('<% $opt{'field'} %>',
<% encode_json($config) %>
);
<% encode_json($config) %>
);
@@
-31,7
+32,7
@@
Example:
my %opt = @_;
my $config = {
'height' => ($opt{height} || 420),
my %opt = @_;
my $config = {
'height' => ($opt{height} || 420),
- 'startupFocus' =>
JSON
::true,
+ 'startupFocus' =>
Cpanel::JSON::XS
::true,
'skin' => 'kama',
'toolbarCanCollapse' => JSON::true,
'removePlugins' => 'elementspath',
'skin' => 'kama',
'toolbarCanCollapse' => JSON::true,
'removePlugins' => 'elementspath',