From: ivan Date: Mon, 8 Sep 2008 02:49:19 +0000 (+0000) Subject: extraneous code cleanup X-Git-Tag: root_of_webpay_support~386 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=2d918c2c9f7685fddfb7c9bc9c54a2fee3bf3e4c;hp=19258154a237c020d06e9d810e65b7c5742c7fd4;p=freeside.git extraneous code cleanup --- 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;