From 00cf1195d67256207c69a074219cbae7c557e6cd Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 8 Sep 2008 02:49:20 +0000 Subject: extraneous code cleanup --- httemplate/edit/quick-charge.html | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) (limited to 'httemplate') diff --git a/httemplate/edit/quick-charge.html b/httemplate/edit/quick-charge.html index eaa9288f3..52a36a77a 100644 --- a/httemplate/edit/quick-charge.html +++ b/httemplate/edit/quick-charge.html @@ -16,22 +16,6 @@ function enable_quick_charge () { } } -function enable_quick_charge_desc () { - if ( document.QuickChargeForm.amount.value && document.QuickChargeForm.pkg.value ) { - document.QuickChargeForm.submit.disabled = false; - } else { - document.QuickChargeForm.submit.disabled = true; - } -} - -function enable_quick_charge_amount () { - if ( document.QuickChargeForm.amount.value && document.QuickChargeForm.pkg.value ) { - document.QuickChargeForm.submit.disabled = false; - } else { - document.QuickChargeForm.submit.disabled = true; - } -} - function validate_quick_charge () { var pkg = document.QuickChargeForm.pkg.value; var pkg_regex = /^([\w \!\@\#\$\%\&\(\)\-\+\;\:\'\"\,\.\?\/\=\[\]]*)$/ ; @@ -80,7 +64,7 @@ function validate_quick_charge () { Amount: - $ + $ @@ -100,13 +84,13 @@ function validate_quick_charge () { Description: - + - Optional additional description: + Optional additional description (also printed on invoice): % my $row = 0; -- cgit v1.2.1