summaryrefslogtreecommitdiff
path: root/httemplate/misc
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-04-20 15:06:27 -0500
committerJonathan Prykop <jonathan@freeside.biz>2016-04-20 15:06:27 -0500
commitc8758c049e81f88d086a42c92a56a91815dbbb26 (patch)
tree35ea9127646a32329b5ce13190908729b80f0c3a /httemplate/misc
parentc9f53f211971dc68e3f67cd94df6138a88436bc4 (diff)
Revert "RT#41671 Fix double click prevention for all legacy buttons [worked previously, renamed button, still work]"
This reverts commit 55daa3803103f841d0fb2b559040115908724da8.
Diffstat (limited to 'httemplate/misc')
-rw-r--r--httemplate/misc/batch-cust_pay.html6
-rw-r--r--httemplate/misc/email-quotation.html4
2 files changed, 5 insertions, 5 deletions
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>