diff options
-rw-r--r-- | httemplate/edit/cust_tax_adjustment.html | 8 | ||||
-rw-r--r-- | httemplate/edit/prepay_credit.cgi | 4 | ||||
-rw-r--r-- | httemplate/edit/quick-charge.html | 8 | ||||
-rw-r--r-- | httemplate/edit/rate.cgi | 4 | ||||
-rw-r--r-- | httemplate/edit/reg_code.cgi | 4 | ||||
-rw-r--r-- | httemplate/misc/batch-cust_pay.html | 6 | ||||
-rw-r--r-- | httemplate/misc/email-quotation.html | 4 |
7 files changed, 19 insertions, 19 deletions
diff --git a/httemplate/edit/cust_tax_adjustment.html b/httemplate/edit/cust_tax_adjustment.html index a013da6cc..9d4afbc60 100644 --- a/httemplate/edit/cust_tax_adjustment.html +++ b/httemplate/edit/cust_tax_adjustment.html @@ -7,9 +7,9 @@ function enable_tax_adjustment () { if ( document.TaxAdjustmentForm.amount.value && document.TaxAdjustmentForm.taxname.selectedIndex > 0 ) { - document.TaxAdjustmentForm.submitButton.disabled = false; + document.TaxAdjustmentForm.submit.disabled = false; } else { - document.TaxAdjustmentForm.submitButton.disabled = true; + document.TaxAdjustmentForm.submit.disabled = true; } } @@ -34,7 +34,7 @@ function validate_tax_adjustment () { </SCRIPT> -<FORM ACTION="process/cust_tax_adjustment.html" NAME="TaxAdjustmentForm" ID="TaxAdjustmentForm" METHOD="POST" onsubmit="document.TaxAdjustmentForm.submitButton.disabled=true;return validate_tax_adjustment();"> +<FORM ACTION="process/cust_tax_adjustment.html" NAME="TaxAdjustmentForm" ID="TaxAdjustmentForm" METHOD="POST" onsubmit="document.TaxAdjustmentForm.submit.disabled=true;return validate_tax_adjustment();"> <INPUT TYPE="hidden" NAME="custnum" VALUE="<% $custnum %>"> @@ -69,7 +69,7 @@ function validate_tax_adjustment () { </TABLE> <BR> -<INPUT TYPE="submit" ID="submit" NAME="submitButton" VALUE="Add tax adjustment" <% $cgi->param('error') ? '' :' DISABLED' %>> +<INPUT TYPE="submit" ID="submit" NAME="submit" VALUE="Add tax adjustment" <% $cgi->param('error') ? '' :' DISABLED' %>> </FORM> diff --git a/httemplate/edit/prepay_credit.cgi b/httemplate/edit/prepay_credit.cgi index 01a54fc52..3f0d6ba1d 100644 --- a/httemplate/edit/prepay_credit.cgi +++ b/httemplate/edit/prepay_credit.cgi @@ -2,7 +2,7 @@ <% include('/elements/error.html') %> -<FORM ACTION="<%popurl(1)%>process/prepay_credit.cgi" METHOD="POST" NAME="OneTrueForm" onSubmit="document.OneTrueForm.submitButton.disabled=true"> +<FORM ACTION="<%popurl(1)%>process/prepay_credit.cgi" METHOD="POST" NAME="OneTrueForm" onSubmit="document.OneTrueForm.submit.disabled=true"> Generate <INPUT TYPE="text" NAME="num" VALUE="<% $cgi->param('num') || '(quantity)' |h %>" SIZE=10 MAXLENGTH=10 onFocus="if ( this.value == '(quantity)' ) { this.value = ''; }"> @@ -74,7 +74,7 @@ $<INPUT TYPE="text" NAME="amount" SIZE=8 MAXLENGTH=7 VALUE="<% $cgi->param('amou </TD></TR> </TABLE> <BR><BR> -<INPUT TYPE="submit" NAME="submitButton" VALUE="Generate" onSubmit="this.disabled = true"> +<INPUT TYPE="submit" NAME="submit" VALUE="Generate" onSubmit="this.disabled = true"> </FORM> 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();" > <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'); -<INPUT TYPE="submit" ID="submit" NAME="submitButton" VALUE="<% $label %>" \ +<INPUT TYPE="submit" ID="submit" NAME="submit" VALUE="<% $label %>" \ <% ($cgi->param('error') || $cust_pkg) ? '' :' DISABLED' %>> </FORM> diff --git a/httemplate/edit/rate.cgi b/httemplate/edit/rate.cgi index 57a472ec8..5bfc108c1 100644 --- a/httemplate/edit/rate.cgi +++ b/httemplate/edit/rate.cgi @@ -31,9 +31,9 @@ </TABLE> <BR> -<INPUT NAME="submitButton" TYPE="button" VALUE="<% +<INPUT NAME="submit" TYPE="button" VALUE="<% $rate->ratenum ? "Apply changes" : "Add rate plan" -%>" onClick="document.OneTrueForm.submitButton.disabled=true; process();"> +%>" onClick="document.OneTrueForm.submit.disabled=true; process();"> </FORM> % if($rate->ratenum) { diff --git a/httemplate/edit/reg_code.cgi b/httemplate/edit/reg_code.cgi index e8e08cd5c..76790ab02 100644 --- a/httemplate/edit/reg_code.cgi +++ b/httemplate/edit/reg_code.cgi @@ -2,7 +2,7 @@ <% include('/elements/error.html') %> -<FORM ACTION="<%popurl(1)%>process/reg_code.cgi" METHOD="POST" NAME="OneTrueForm" onSubmit="document.OneTrueForm.submitButton.disabled=true"> +<FORM ACTION="<%popurl(1)%>process/reg_code.cgi" METHOD="POST" NAME="OneTrueForm" onSubmit="document.OneTrueForm.submit.disabled=true"> <INPUT TYPE="hidden" NAME="agentnum" VALUE="<% $agent->agentnum %>"> Generate @@ -25,7 +25,7 @@ registration codes for <B><% $agent->agent %></B> allowing the following package <BR> -<INPUT TYPE="submit" NAME="submitButton" VALUE="Generate"> +<INPUT TYPE="submit" NAME="submit" VALUE="Generate"> </FORM> diff --git a/httemplate/misc/batch-cust_pay.html b/httemplate/misc/batch-cust_pay.html index d785904cf..197ade14f 100644 --- a/httemplate/misc/batch-cust_pay.html +++ b/httemplate/misc/batch-cust_pay.html @@ -17,7 +17,7 @@ <SCRIPT TYPE="text/javascript"> function warnUnload() { if(document.getElementById("OneTrueTable").rows.length > 3 && - !document.OneTrueForm.submitButton.disabled) { + !document.OneTrueForm.btnsubmit.disabled) { return "The current batch will be lost."; } else { @@ -421,7 +421,7 @@ function preload() { ) %> -<FORM ACTION="process/batch-cust_pay.cgi" NAME="OneTrueForm" METHOD="POST" onsubmit="document.OneTrueForm.submitButton.disabled=true;window.onbeforeunload = null;"> +<FORM ACTION="process/batch-cust_pay.cgi" NAME="OneTrueForm" METHOD="POST" onsubmit="document.OneTrueForm.btnsubmit.disabled=true;window.onbeforeunload = null;"> <!-- <B>Batch</B> <INPUT TYPE="text" NAME="paybatch"><BR><BR> --> <& /elements/xmlhttp.html, @@ -448,7 +448,7 @@ function preload() { &> <BR> -<INPUT TYPE="button" VALUE="Post payment batch" name="submitButton" onclick="window.onbeforeunload = null; document.OneTrueForm.submit(); this.disabled = true;"> +<INPUT TYPE="button" VALUE="Post payment batch" name="btnsubmit" onclick="window.onbeforeunload = null; document.OneTrueForm.submit(); this.disabled = true;"> </FORM> diff --git a/httemplate/misc/email-quotation.html b/httemplate/misc/email-quotation.html index bfc64b621..64e3691b5 100644 --- a/httemplate/misc/email-quotation.html +++ b/httemplate/misc/email-quotation.html @@ -2,7 +2,7 @@ <% include('/elements/error.html') %> -<FORM NAME="OneTrueForm" METHOD="POST" ACTION="process/email-quotation.html" onSubmit="document.OneTrueForm.submitButton.disabled=true; document.OneTrueForm.submitButton.style.display='none'; document.getElementById('emailingwait').style.display='';"> +<FORM NAME="OneTrueForm" METHOD="POST" ACTION="process/email-quotation.html" onSubmit="document.OneTrueForm.submit.disabled=true; document.OneTrueForm.submit.style.display='none'; document.getElementById('emailingwait').style.display='';"> <INPUT TYPE="hidden" NAME="quotationnum" VALUE="<% $quotationnum %>"> <% ntable("#cccccc", 2) %> @@ -46,7 +46,7 @@ <CENTER> % if ( $emails ) { - <BUTTON TYPE="submit" NAME="submitButton" ID="submit">Email quotation</BUTTON> + <BUTTON TYPE="submit" NAME="submit" ID="submit">Email quotation</BUTTON> <DIV ID="emailingwait" STYLE="display:none"> <IMG SRC="<%$p%>images/wait-orange.gif"> <B>Sending...</B> </DIV> |