summaryrefslogtreecommitdiff
path: root/httemplate/misc
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-04-18 13:26:59 -0500
committerJonathan Prykop <jonathan@freeside.biz>2016-04-18 13:26:59 -0500
commit8eb6542c022ac84b125416f3fb0828b278ba600a (patch)
treefd054c9e52b9718c51b94382ac00cec2aecb8d96 /httemplate/misc
parent0be54958813c9a4a5e24e32707b92e49881c7c0a (diff)
Revert "RT#41671 Fix double click prevention for all legacy buttons [renamed all from submit to submitButton]"
This reverts commit d65927fb45aa1c47d7f593db0142d14799b0fabf.
Diffstat (limited to 'httemplate/misc')
-rw-r--r--httemplate/misc/cancel_cust.html2
-rwxr-xr-xhttemplate/misc/cancel_pkg.html2
-rwxr-xr-xhttemplate/misc/change_pkg_start.html2
-rw-r--r--httemplate/misc/cust_bill-promised_date.html2
-rw-r--r--httemplate/misc/cust_main_note-import.cgi2
-rwxr-xr-xhttemplate/misc/delay_susp_pkg.html2
-rw-r--r--httemplate/misc/nms-add_iface.html2
-rw-r--r--httemplate/misc/nms-add_router.html2
-rw-r--r--httemplate/misc/progress-popup.html8
-rwxr-xr-xhttemplate/misc/recharge_svc.html2
-rw-r--r--httemplate/misc/suspend_cust.html2
-rwxr-xr-xhttemplate/misc/timeworked.html2
-rwxr-xr-xhttemplate/misc/unhold_pkg.html2
-rw-r--r--httemplate/misc/unsuspend_cust.html2
14 files changed, 17 insertions, 17 deletions
diff --git a/httemplate/misc/cancel_cust.html b/httemplate/misc/cancel_cust.html
index d3da6fee1..85367026c 100644
--- a/httemplate/misc/cancel_cust.html
+++ b/httemplate/misc/cancel_cust.html
@@ -55,7 +55,7 @@ toggle(false);
<BR>
<P ALIGN="CENTER">
-<INPUT TYPE="submit" NAME="submitButton" ID="confirm_cancel_cust_button" VALUE="<% mt('Cancel customer') |h %>" DISABLED>
+<INPUT TYPE="submit" NAME="submit" ID="confirm_cancel_cust_button" VALUE="<% mt('Cancel customer') |h %>" DISABLED>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<INPUT TYPE="BUTTON" VALUE="<% mt("Don't cancel") |h %>" onClick="parent.cClick();">
diff --git a/httemplate/misc/cancel_pkg.html b/httemplate/misc/cancel_pkg.html
index bee206a13..c80b2b278 100755
--- a/httemplate/misc/cancel_pkg.html
+++ b/httemplate/misc/cancel_pkg.html
@@ -91,7 +91,7 @@
</TABLE>
<BR>
-<INPUT TYPE="submit" NAME="submitButton" ID="confirm_cancel_pkg_button"
+<INPUT TYPE="submit" NAME="submit" ID="confirm_cancel_pkg_button"
VALUE="<% mt($submit) |h %>"
<% $method !~ /^(resume|uncancel)$/ ? 'DISABLED' : '' %>>
diff --git a/httemplate/misc/change_pkg_start.html b/httemplate/misc/change_pkg_start.html
index 25a3c24b9..5a890c86e 100755
--- a/httemplate/misc/change_pkg_start.html
+++ b/httemplate/misc/change_pkg_start.html
@@ -47,7 +47,7 @@
&>
</LI>
</UL>
-<INPUT TYPE="submit" NAME="submitButton" VALUE="<% emt('Set start date') %>">
+<INPUT TYPE="submit" NAME="submit" VALUE="<% emt('Set start date') %>">
</FORM>
</BODY>
diff --git a/httemplate/misc/cust_bill-promised_date.html b/httemplate/misc/cust_bill-promised_date.html
index 0e417a2bb..7b7b9601d 100644
--- a/httemplate/misc/cust_bill-promised_date.html
+++ b/httemplate/misc/cust_bill-promised_date.html
@@ -9,7 +9,7 @@
emt('Promised date'),
&>
</TABLE>
-<INPUT TYPE="submit" NAME="submitButton" VALUE="<% emt('Set date') %>">
+<INPUT TYPE="submit" NAME="submit" VALUE="<% emt('Set date') %>">
</FORM>
<& /elements/footer.html &>
<%init>
diff --git a/httemplate/misc/cust_main_note-import.cgi b/httemplate/misc/cust_main_note-import.cgi
index 12d6c36a4..2e7dc8b65 100644
--- a/httemplate/misc/cust_main_note-import.cgi
+++ b/httemplate/misc/cust_main_note-import.cgi
@@ -190,7 +190,7 @@
% $row++;
% }
</TABLE>
- <INPUT TYPE="submit" NAME="submitButton" ID="importsubmit" VALUE="Import notes">
+ <INPUT TYPE="submit" NAME="submit" ID="importsubmit" VALUE="Import notes">
<INPUT TYPE="checkbox" NAME="preview" onchange="previewChanged(this);">
Preview mode
% } else {
diff --git a/httemplate/misc/delay_susp_pkg.html b/httemplate/misc/delay_susp_pkg.html
index 6167509b9..02f8824b4 100755
--- a/httemplate/misc/delay_susp_pkg.html
+++ b/httemplate/misc/delay_susp_pkg.html
@@ -36,7 +36,7 @@
</TABLE>
<BR>
-<INPUT TYPE="submit" NAME="submitButton" VALUE="<% $submit %>">
+<INPUT TYPE="submit" NAME="submit" VALUE="<% $submit %>">
</FORM>
</BODY>
diff --git a/httemplate/misc/nms-add_iface.html b/httemplate/misc/nms-add_iface.html
index 74e1d8342..11456f2e8 100644
--- a/httemplate/misc/nms-add_iface.html
+++ b/httemplate/misc/nms-add_iface.html
@@ -10,7 +10,7 @@ Torrus Service Id
)
%>
<BR>
-<INPUT TYPE="submit" NAME="submitButton" ID="submit_nms-add_iface" VALUE="Add Interface">
+<INPUT TYPE="submit" NAME="submit" ID="submit_nms-add_iface" VALUE="Add Interface">
</FORM>
<%init>
diff --git a/httemplate/misc/nms-add_router.html b/httemplate/misc/nms-add_router.html
index 3a8a15074..c32ceb84c 100644
--- a/httemplate/misc/nms-add_router.html
+++ b/httemplate/misc/nms-add_router.html
@@ -14,7 +14,7 @@ SNMP Community String (optional)
%>
<BR>
<BR>
-<INPUT TYPE="submit" NAME="submitButton" ID="submit_nms-add_router" VALUE="Add Router">
+<INPUT TYPE="submit" NAME="submit" ID="submit_nms-add_router" VALUE="Add Router">
</FORM>
</BODY></HTML>
<%init>
diff --git a/httemplate/misc/progress-popup.html b/httemplate/misc/progress-popup.html
index 66fe9a8a2..8e2d6760b 100644
--- a/httemplate/misc/progress-popup.html
+++ b/httemplate/misc/progress-popup.html
@@ -58,8 +58,8 @@ function updateStatus( status_statustext ) {
document.getElementById("progress_jobnum").innerHTML = '';
% unless ( $url ) {
- if ( parent.document.<%$formname%>.submitButton.disabled == true ) {
- parent.document.<%$formname%>.submitButton.disabled=false;
+ if ( parent.document.<%$formname%>.submit.disabled == true ) {
+ parent.document.<%$formname%>.submit.disabled=false;
}
% }
@@ -93,8 +93,8 @@ function updateStatus( status_statustext ) {
document.getElementById("progress_bar").innerHTML = '';
document.getElementById("progress_percent").innerHTML = '<INPUT TYPE="button" VALUE="OK" onClick="<% $onClick %>">';
document.getElementById("progress_jobnum").innerHTML = '';
- if ( parent.document.<%$formname%>.submitButton.disabled == true ) {
- parent.document.<%$formname%>.submitButton.disabled=false;
+ if ( parent.document.<%$formname%>.submit.disabled == true ) {
+ parent.document.<%$formname%>.submit.disabled=false;
}
} else {
alert('XXX unknown status returned from server: ' + status);
diff --git a/httemplate/misc/recharge_svc.html b/httemplate/misc/recharge_svc.html
index 593c0fafc..a1732fca5 100755
--- a/httemplate/misc/recharge_svc.html
+++ b/httemplate/misc/recharge_svc.html
@@ -37,7 +37,7 @@
</TABLE>
<BR>
-<INPUT TYPE="submit" NAME="submitButton" VALUE="Recharge">
+<INPUT TYPE="submit" NAME="submit" VALUE="Recharge">
</FORM>
diff --git a/httemplate/misc/suspend_cust.html b/httemplate/misc/suspend_cust.html
index 7d2c5f65f..83d974300 100644
--- a/httemplate/misc/suspend_cust.html
+++ b/httemplate/misc/suspend_cust.html
@@ -47,7 +47,7 @@ toggle(false);
<BR>
<P ALIGN="CENTER">
-<INPUT TYPE="submit" NAME="submitButton" ID="confirm_suspend_cust_button" VALUE="<% mt('Suspend customer') |h %>" DISABLED>
+<INPUT TYPE="submit" NAME="submit" ID="confirm_suspend_cust_button" VALUE="<% mt('Suspend customer') |h %>" DISABLED>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<INPUT TYPE="BUTTON" VALUE="<% mt("Don't suspend") |h %>" onClick="parent.cClick();">
diff --git a/httemplate/misc/timeworked.html b/httemplate/misc/timeworked.html
index b24e31378..a0cf74371 100755
--- a/httemplate/misc/timeworked.html
+++ b/httemplate/misc/timeworked.html
@@ -86,7 +86,7 @@
<INPUT TYPE="hidden" NAME="end" VALUE="<% $cgi->param('end') |h %>">
<INPUT TYPE="hidden" NAME="category" VALUE="<% $cgi->param('category') |h %>">
-<INPUT TYPE="submit" NAME="submitButton" VALUE="<% $title %>">
+<INPUT TYPE="submit" NAME="submit" VALUE="<% $title %>">
</FORM>
<% include('/elements/footer.html') %>
diff --git a/httemplate/misc/unhold_pkg.html b/httemplate/misc/unhold_pkg.html
index 40b55c62d..0c110b4f9 100755
--- a/httemplate/misc/unhold_pkg.html
+++ b/httemplate/misc/unhold_pkg.html
@@ -47,7 +47,7 @@
&>
</LI>
</UL>
-<INPUT TYPE="submit" NAME="submitButton" VALUE="<% emt('Start billing') %>">
+<INPUT TYPE="submit" NAME="submit" VALUE="<% emt('Start billing') %>">
</FORM>
</BODY>
diff --git a/httemplate/misc/unsuspend_cust.html b/httemplate/misc/unsuspend_cust.html
index 6c2c7070d..4555a58b3 100644
--- a/httemplate/misc/unsuspend_cust.html
+++ b/httemplate/misc/unsuspend_cust.html
@@ -52,7 +52,7 @@ toggle(false);
<BR>
<P ALIGN="CENTER">
-<INPUT TYPE="submit" NAME="submitButton" ID="confirm_unsuspend_cust_button" VALUE="<% mt('Unsuspend customer') |h %>">
+<INPUT TYPE="submit" NAME="submit" ID="confirm_unsuspend_cust_button" VALUE="<% mt('Unsuspend customer') |h %>">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<INPUT TYPE="BUTTON" VALUE="<% mt("Don't unsuspend") |h %>" onClick="parent.cClick();">