summaryrefslogtreecommitdiff
path: root/httemplate/edit
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/edit')
-rw-r--r--httemplate/edit/cust_tax_adjustment.html8
-rw-r--r--httemplate/edit/prepay_credit.cgi4
-rw-r--r--httemplate/edit/quick-charge.html8
-rw-r--r--httemplate/edit/rate.cgi4
-rw-r--r--httemplate/edit/reg_code.cgi4
5 files changed, 14 insertions, 14 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>