<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 {
td_invnum.setAttribute('colspan', 4);
td_invnum.style.textAlign = 'right';
td_invnum.appendChild(
- document.createTextNode('<% mt('Apply to Invoice ') %>')
+ document.createTextNode(<% mt('Apply to Invoice ') |js_string %>)
);
var select_invnum = document.createElement('SELECT');
select_invnum.setAttribute('rownum', rownum);
)
%>
-<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,
&>
<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>