From: ivan Date: Mon, 8 Sep 2008 02:49:20 +0000 (+0000) Subject: extraneous code cleanup X-Git-Tag: freeside_1_7_4rc1~200 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=00cf1195d67256207c69a074219cbae7c557e6cd;p=freeside.git extraneous code cleanup --- 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;