From 2d918c2c9f7685fddfb7c9bc9c54a2fee3bf3e4c Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 8 Sep 2008 02:49:19 +0000 Subject: [PATCH 1/1] extraneous code cleanup --- httemplate/edit/quick-charge.html | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/httemplate/edit/quick-charge.html b/httemplate/edit/quick-charge.html index bf4c44571..cbf1dcb74 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: - $ + $ @@ -104,13 +88,13 @@ function validate_quick_charge () { Description: - + - Optional additional description: + Optional additional description (also printed on invoice): % my $row = 0; -- 2.11.0