summaryrefslogtreecommitdiff
path: root/httemplate/view
diff options
context:
space:
mode:
authorjeff <jeff>2006-11-26 23:06:37 +0000
committerjeff <jeff>2006-11-26 23:06:37 +0000
commit88a07a3c2aac1fff33bd1f400ee5c0672ce716a0 (patch)
treea2dbef9b26afd39da1c8b70f54361fdf292af10c /httemplate/view
parentae3253689aba4912b7308167cad11f10ebb2658a (diff)
more ajaxy customer notes
Diffstat (limited to 'httemplate/view')
-rwxr-xr-xhttemplate/view/cust_main.cgi2
-rwxr-xr-xhttemplate/view/cust_main/notes.html8
2 files changed, 4 insertions, 6 deletions
diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi
index fa3de92f0..3c66df1a7 100755
--- a/httemplate/view/cust_main.cgi
+++ b/httemplate/view/cust_main.cgi
@@ -138,7 +138,7 @@ Comments
% }else{ # make firefox happy wrt POSTDATA
-<iframe src="<% $p %>view/cust_main/notes.html?custnum=<% $cust_main->custnum %>" height="18" width="6" name="cust_main_notes" frameborder="0" marginborder="0" marginheight="0" scrolling="auto">
+<iframe src="<% $p %>view/cust_main/notes.html?custnum=<% $cust_main->custnum %>" height="24" width="616" name="cust_main_notes" frameborder="0" marginborder="0" marginheight="0" scrolling="auto">
<div><br>[iframe not supported]<br><br></div>
</iframe>
diff --git a/httemplate/view/cust_main/notes.html b/httemplate/view/cust_main/notes.html
index 75bf30e41..f10eccf57 100755
--- a/httemplate/view/cust_main/notes.html
+++ b/httemplate/view/cust_main/notes.html
@@ -9,8 +9,6 @@
% my $cust_main = qsearchs('cust_main', {'custnum' => $custnum} );
% die "Custimer not found!" unless $cust_main;
%
-% my (@notes) = $cust_main->notes();
-% if ( scalar(@notes) ) {
<STYLE TYPE="text/css">
@@ -21,6 +19,9 @@ body { background: #e8e8e8 }
</STYLE>
+% my (@notes) = $cust_main->notes();
+% if ( scalar(@notes) ) {
+
<SCRIPT TYPE="text/javascript" SRC="/elements/overlibmws.js"></SCRIPT>
<SCRIPT TYPE="text/javascript" SRC="/elements/overlibmws_iframe.js"></SCRIPT>
<SCRIPT TYPE="text/javascript" SRC="/elements/overlibmws_crossframe.js"></SCRIPT>
@@ -28,7 +29,6 @@ body { background: #e8e8e8 }
<TABLE CLASS="inv" CELLSPACING=0 CELLPADDING=0 BORDER=0 >
-%#<% include('/elements/table-grid.html') %>
% my $bgcolor1 = '#eeeeee';
% my $bgcolor2 = '#ffffff';
% my $bgcolor = '';
@@ -71,9 +71,7 @@ body { background: #e8e8e8 }
% } #end display notes
</TABLE>
-% } else {
-<BR>
% }
%
%#subroutines