% or die "Illegal custnum: ". $cgi->param('custnum');
%my $custnum = $1;
%
-%$cgi->param('notenum') =~ /^(\d+)$/
+%$cgi->param('notenum') =~ /^(\d*)$/
% or die "Illegal notenum: ". $cgi->param('notenum');
%my $notenum = $1;
%
%
<% header('Note ' . ($notenum ? 'updated' : 'added') ) %>
<SCRIPT TYPE="text/javascript">
- window.top.location.reload();
+ parent.cust_main_notes.location.reload();
+ try{parent.cust_main_notes.cClick()}
+ catch(err){}
+ try{parent.cClick()}
+ catch(err){}
</SCRIPT>
-
</BODY></HTML>
%
%