projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Agent virtualize the attachment report. See RT#24899.
[freeside.git]
/
httemplate
/
elements
/
htmlarea.html
diff --git
a/httemplate/elements/htmlarea.html
b/httemplate/elements/htmlarea.html
index
c98993d
..
dba744e
100644
(file)
--- a/
httemplate/elements/htmlarea.html
+++ b/
httemplate/elements/htmlarea.html
@@
-12,7
+12,7
@@
Example:
</%doc>
% #init
</%doc>
% #init
-<SCRIPT TYPE="text/javascript" src="<% $
p
%>elements/ckeditor/ckeditor.js">
+<SCRIPT TYPE="text/javascript" src="<% $
fsurl
%>elements/ckeditor/ckeditor.js">
</SCRIPT>
% #editor
</SCRIPT>
% #editor
@@
-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,10
+32,11
@@
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,
'skin' => 'kama',
'toolbarCanCollapse' => JSON::true,
- 'basePath' => $p.'elements/ckeditor/',
+ 'removePlugins' => 'elementspath',
+ 'basePath' => $fsurl.'elements/ckeditor/',
'enterMode' => 2,
%{ $opt{config} || {} },
};
'enterMode' => 2,
%{ $opt{config} || {} },
};