summaryrefslogtreecommitdiff
path: root/httemplate/misc
diff options
context:
space:
mode:
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>