X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fquick-charge.html;h=14c3f51e6867b2aa9925b51cab42d247999dcd28;hb=8929bee6e58cf603aa2275ec1428afeb2306e5ea;hp=1ff70009c12f79f95b98be86d74d6fb22036566b;hpb=55daa3803103f841d0fb2b559040115908724da8;p=freeside.git diff --git a/httemplate/edit/quick-charge.html b/httemplate/edit/quick-charge.html index 1ff70009c..14c3f51e6 100644 --- a/httemplate/edit/quick-charge.html +++ b/httemplate/edit/quick-charge.html @@ -15,9 +15,9 @@ function enable_quick_charge (e) { if ( document.QuickChargeForm.amount.value && document.QuickChargeForm.pkg.value ) { - document.QuickChargeForm.submitButton.disabled = false; + document.QuickChargeForm.submit.disabled = false; } else { - document.QuickChargeForm.submitButton.disabled = true; + document.QuickChargeForm.submit.disabled = true; } % if ( $curuser->option('disable_enter_submit_onetimecharge') ) { @@ -97,7 +97,7 @@ function bill_now_changed (what) { NAME = "QuickChargeForm" ID = "QuickChargeForm" METHOD = "POST" - onSubmit = "document.QuickChargeForm.submitButton.disabled=true; return validate_quick_charge();" + onSubmit = "document.QuickChargeForm.submit.disabled=true; return validate_quick_charge();" > @@ -362,7 +362,7 @@ function bill_now_changed (what) { % my $label = $cust_pkg % ? emt('Modify one-time charge') % : emt('Add one-time charge'); -param('error') || $cust_pkg) ? '' :' DISABLED' %>>