projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix linking of new customer contact to an existing email address, #25536
[freeside.git]
/
httemplate
/
edit
/
quick-charge.html
diff --git
a/httemplate/edit/quick-charge.html
b/httemplate/edit/quick-charge.html
index
1ff7000
..
14c3f51
100644
(file)
--- 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 ) {
if ( document.QuickChargeForm.amount.value
&& document.QuickChargeForm.pkg.value ) {
- document.QuickChargeForm.submit
Button
.disabled = false;
+ document.QuickChargeForm.submit.disabled = false;
} else {
} else {
- document.QuickChargeForm.submit
Button
.disabled = true;
+ document.QuickChargeForm.submit.disabled = true;
}
% if ( $curuser->option('disable_enter_submit_onetimecharge') ) {
}
% if ( $curuser->option('disable_enter_submit_onetimecharge') ) {
@@
-97,7
+97,7
@@
function bill_now_changed (what) {
NAME = "QuickChargeForm"
ID = "QuickChargeForm"
METHOD = "POST"
NAME = "QuickChargeForm"
ID = "QuickChargeForm"
METHOD = "POST"
- onSubmit = "document.QuickChargeForm.submit
Button
.disabled=true; return validate_quick_charge();"
+ onSubmit = "document.QuickChargeForm.submit.disabled=true; return validate_quick_charge();"
>
<INPUT TYPE="hidden" NAME="custnum" VALUE="<% $cust_main ? $cust_main->custnum : '' %>">
>
<INPUT TYPE="hidden" NAME="custnum" VALUE="<% $cust_main ? $cust_main->custnum : '' %>">
@@
-362,7
+362,7
@@
function bill_now_changed (what) {
% my $label = $cust_pkg
% ? emt('Modify one-time charge')
% : emt('Add one-time charge');
% my $label = $cust_pkg
% ? emt('Modify one-time charge')
% : emt('Add one-time charge');
-<INPUT TYPE="submit" ID="submit" NAME="submit
Button
" VALUE="<% $label %>" \
+<INPUT TYPE="submit" ID="submit" NAME="submit" VALUE="<% $label %>" \
<% ($cgi->param('error') || $cust_pkg) ? '' :' DISABLED' %>>
</FORM>
<% ($cgi->param('error') || $cust_pkg) ? '' :' DISABLED' %>>
</FORM>