From d65927fb45aa1c47d7f593db0142d14799b0fabf Mon Sep 17 00:00:00 2001 From: Jonathan Prykop Date: Thu, 14 Apr 2016 08:38:54 -0500 Subject: RT#41671 Fix double click prevention for all legacy buttons [renamed all from submit to submitButton] --- httemplate/misc/cancel_cust.html | 2 +- httemplate/misc/cancel_pkg.html | 2 +- httemplate/misc/change_pkg_start.html | 2 +- httemplate/misc/cust_bill-promised_date.html | 2 +- httemplate/misc/cust_main_note-import.cgi | 2 +- httemplate/misc/delay_susp_pkg.html | 2 +- httemplate/misc/nms-add_iface.html | 2 +- httemplate/misc/nms-add_router.html | 2 +- httemplate/misc/progress-popup.html | 8 ++++---- httemplate/misc/recharge_svc.html | 2 +- httemplate/misc/suspend_cust.html | 2 +- httemplate/misc/timeworked.html | 2 +- httemplate/misc/unhold_pkg.html | 2 +- httemplate/misc/unsuspend_cust.html | 2 +- 14 files changed, 17 insertions(+), 17 deletions(-) (limited to 'httemplate/misc') diff --git a/httemplate/misc/cancel_cust.html b/httemplate/misc/cancel_cust.html index 85367026c..d3da6fee1 100644 --- a/httemplate/misc/cancel_cust.html +++ b/httemplate/misc/cancel_cust.html @@ -55,7 +55,7 @@ toggle(false);

- +          " onClick="parent.cClick();"> diff --git a/httemplate/misc/cancel_pkg.html b/httemplate/misc/cancel_pkg.html index c80b2b278..bee206a13 100755 --- a/httemplate/misc/cancel_pkg.html +++ b/httemplate/misc/cancel_pkg.html @@ -91,7 +91,7 @@
-> diff --git a/httemplate/misc/change_pkg_start.html b/httemplate/misc/change_pkg_start.html index 5a890c86e..25a3c24b9 100755 --- a/httemplate/misc/change_pkg_start.html +++ b/httemplate/misc/change_pkg_start.html @@ -47,7 +47,7 @@ &> - + diff --git a/httemplate/misc/cust_bill-promised_date.html b/httemplate/misc/cust_bill-promised_date.html index 7b7b9601d..0e417a2bb 100644 --- a/httemplate/misc/cust_bill-promised_date.html +++ b/httemplate/misc/cust_bill-promised_date.html @@ -9,7 +9,7 @@ emt('Promised date'), &> - + <& /elements/footer.html &> <%init> diff --git a/httemplate/misc/cust_main_note-import.cgi b/httemplate/misc/cust_main_note-import.cgi index 2e7dc8b65..12d6c36a4 100644 --- a/httemplate/misc/cust_main_note-import.cgi +++ b/httemplate/misc/cust_main_note-import.cgi @@ -190,7 +190,7 @@ % $row++; % } - + Preview mode % } else { diff --git a/httemplate/misc/delay_susp_pkg.html b/httemplate/misc/delay_susp_pkg.html index 02f8824b4..6167509b9 100755 --- a/httemplate/misc/delay_susp_pkg.html +++ b/httemplate/misc/delay_susp_pkg.html @@ -36,7 +36,7 @@
- + diff --git a/httemplate/misc/nms-add_iface.html b/httemplate/misc/nms-add_iface.html index 11456f2e8..74e1d8342 100644 --- a/httemplate/misc/nms-add_iface.html +++ b/httemplate/misc/nms-add_iface.html @@ -10,7 +10,7 @@ Torrus Service Id ) %>
- + <%init> diff --git a/httemplate/misc/nms-add_router.html b/httemplate/misc/nms-add_router.html index c32ceb84c..3a8a15074 100644 --- a/httemplate/misc/nms-add_router.html +++ b/httemplate/misc/nms-add_router.html @@ -14,7 +14,7 @@ SNMP Community String (optional) %>

- + <%init> diff --git a/httemplate/misc/progress-popup.html b/httemplate/misc/progress-popup.html index 8e2d6760b..66fe9a8a2 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%>.submit.disabled == true ) { - parent.document.<%$formname%>.submit.disabled=false; + if ( parent.document.<%$formname%>.submitButton.disabled == true ) { + parent.document.<%$formname%>.submitButton.disabled=false; } % } @@ -93,8 +93,8 @@ function updateStatus( status_statustext ) { document.getElementById("progress_bar").innerHTML = ''; document.getElementById("progress_percent").innerHTML = ''; document.getElementById("progress_jobnum").innerHTML = ''; - if ( parent.document.<%$formname%>.submit.disabled == true ) { - parent.document.<%$formname%>.submit.disabled=false; + if ( parent.document.<%$formname%>.submitButton.disabled == true ) { + parent.document.<%$formname%>.submitButton.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 a1732fca5..593c0fafc 100755 --- a/httemplate/misc/recharge_svc.html +++ b/httemplate/misc/recharge_svc.html @@ -37,7 +37,7 @@
- + diff --git a/httemplate/misc/suspend_cust.html b/httemplate/misc/suspend_cust.html index 83d974300..7d2c5f65f 100644 --- a/httemplate/misc/suspend_cust.html +++ b/httemplate/misc/suspend_cust.html @@ -47,7 +47,7 @@ toggle(false);

- +          " onClick="parent.cClick();"> diff --git a/httemplate/misc/timeworked.html b/httemplate/misc/timeworked.html index a0cf74371..b24e31378 100755 --- a/httemplate/misc/timeworked.html +++ b/httemplate/misc/timeworked.html @@ -86,7 +86,7 @@ - + <% include('/elements/footer.html') %> diff --git a/httemplate/misc/unhold_pkg.html b/httemplate/misc/unhold_pkg.html index 0c110b4f9..40b55c62d 100755 --- a/httemplate/misc/unhold_pkg.html +++ b/httemplate/misc/unhold_pkg.html @@ -47,7 +47,7 @@ &> - + diff --git a/httemplate/misc/unsuspend_cust.html b/httemplate/misc/unsuspend_cust.html index 4555a58b3..6c2c7070d 100644 --- a/httemplate/misc/unsuspend_cust.html +++ b/httemplate/misc/unsuspend_cust.html @@ -52,7 +52,7 @@ toggle(false);

- +          " onClick="parent.cClick();"> -- cgit v1.2.1