summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2015-07-11 23:10:12 -0700
committerIvan Kohler <ivan@freeside.biz>2015-07-11 23:10:12 -0700
commitfccb0009d3b5ea3b07364520754d6f956cdeb861 (patch)
tree3d2fdac8dec275dbb4df54d7c078d83aa2ebbc8b
parent2915a5725aefb4ed6ab1f461b86d91d21a717887 (diff)
note UI
-rwxr-xr-xhttemplate/edit/cust_main_note.cgi8
-rw-r--r--httemplate/elements/htmlarea.html1
2 files changed, 7 insertions, 2 deletions
diff --git a/httemplate/edit/cust_main_note.cgi b/httemplate/edit/cust_main_note.cgi
index a089db2d1..9ae29c2f1 100755
--- a/httemplate/edit/cust_main_note.cgi
+++ b/httemplate/edit/cust_main_note.cgi
@@ -23,8 +23,12 @@
join '', split /<br \/>|&nbsp;/, $comment
%></TEXTAREA>
% } else {
- <& /elements/htmlarea.html, 'field' => 'comment_html',
- 'curr_value' => $comment
+ <& /elements/htmlarea.html,
+ 'field' => 'comment_html',
+ 'curr_value' => $comment,
+ 'config' => { toolbarStartupExpanded => JSON::false,
+ height => 315,
+ },
&>
% }
diff --git a/httemplate/elements/htmlarea.html b/httemplate/elements/htmlarea.html
index c98993d40..7c40e61c7 100644
--- a/httemplate/elements/htmlarea.html
+++ b/httemplate/elements/htmlarea.html
@@ -34,6 +34,7 @@ my $config = {
'startupFocus' => JSON::true,
'skin' => 'kama',
'toolbarCanCollapse' => JSON::true,
+ 'removePlugins' => 'elementspath',
'basePath' => $p.'elements/ckeditor/',
'enterMode' => 2,
%{ $opt{config} || {} },