[freeside-commits] branch master updated. fccb0009d3b5ea3b07364520754d6f956cdeb861

Ivan ivan at 420.am
Sat Jul 11 23:10:14 PDT 2015


The branch, master has been updated
       via  fccb0009d3b5ea3b07364520754d6f956cdeb861 (commit)
      from  2915a5725aefb4ed6ab1f461b86d91d21a717887 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit fccb0009d3b5ea3b07364520754d6f956cdeb861
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Sat Jul 11 23:10:12 2015 -0700

    note UI

diff --git a/httemplate/edit/cust_main_note.cgi b/httemplate/edit/cust_main_note.cgi
index a089db2..9ae29c2 100755
--- a/httemplate/edit/cust_main_note.cgi
+++ b/httemplate/edit/cust_main_note.cgi
@@ -23,8 +23,12 @@
     join '', split /<br \/>| /, $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 c98993d..7c40e61 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} || {} },

-----------------------------------------------------------------------

Summary of changes:
 httemplate/edit/cust_main_note.cgi |    8 ++++++--
 httemplate/elements/htmlarea.html  |    1 +
 2 files changed, 7 insertions(+), 2 deletions(-)




More information about the freeside-commits mailing list