From 9c9a1838b54292c62e940d7e6cee5141ea8e9b5c Mon Sep 17 00:00:00 2001 From: mark Date: Tue, 16 Mar 2010 08:37:25 +0000 Subject: RT#6226: fckeditor for customer notes --- httemplate/edit/cust_main_note.cgi | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'httemplate/edit/cust_main_note.cgi') diff --git a/httemplate/edit/cust_main_note.cgi b/httemplate/edit/cust_main_note.cgi index 6c6a1a9a0..1fdf0d9e5 100755 --- a/httemplate/edit/cust_main_note.cgi +++ b/httemplate/edit/cust_main_note.cgi @@ -8,9 +8,11 @@

- +<% include('/elements/htmlarea.html', 'field' => 'comment', + 'curr_value' => $comment) %> +% #

"> @@ -33,6 +35,8 @@ if ( $cgi->param('error') ) { $comment = $note->comments; } +$comment =~ s/\r//g; # remove weird line breaks to protect FCKeditor + $cgi->param('custnum') =~ /^(\d+)$/ or die "illeagl custnum"; my $custnum = $1; -- cgit v1.2.1 From 1d25ae2a3b49fd7a4413ec8f590a696fe13780e8 Mon Sep 17 00:00:00 2001 From: ivan Date: Sat, 27 Mar 2010 06:11:32 +0000 Subject: resize customer not add popup, eliminate needless
in popup --- httemplate/edit/cust_main_note.cgi | 2 -- 1 file changed, 2 deletions(-) (limited to 'httemplate/edit/cust_main_note.cgi') diff --git a/httemplate/edit/cust_main_note.cgi b/httemplate/edit/cust_main_note.cgi index 1fdf0d9e5..e2501cb54 100755 --- a/httemplate/edit/cust_main_note.cgi +++ b/httemplate/edit/cust_main_note.cgi @@ -6,8 +6,6 @@ - -

<% include('/elements/htmlarea.html', 'field' => 'comment', 'curr_value' => $comment) %> % #