fix javascript bug reported by baloo@gimpgirl.com, thanks
authorivan <ivan>
Mon, 27 May 2002 06:53:06 +0000 (06:53 +0000)
committerivan <ivan>
Mon, 27 May 2002 06:53:06 +0000 (06:53 +0000)
httemplate/edit/cust_bill_pay.cgi

index d906597..8cdf450 100755 (executable)
@@ -59,14 +59,13 @@ foreach my $cust_bill ( @cust_bill ) {
 END
 }
 
-#print <<END;
 #  if ( cust_bill == "Refund" ) {
 #    what.form.amount.value = "$credited";
 #  }
-#}
-#</SCRIPT>
-#END
-print "</SCRIPT>\n";
+print <<END;
+}
+</SCRIPT>
+END
 
 print qq!<BR>Invoice #<SELECT NAME="invnum" SIZE=1 onChange="changed(this)">!,
       '<OPTION VALUE="">';