summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2017-03-06 20:21:05 -0800
committerIvan Kohler <ivan@freeside.biz>2017-03-06 20:21:05 -0800
commitb3a7f5819aab1d878a68dd85174fe934ab66c026 (patch)
tree583115dfe814e74ef551d5dadbb5859ff27a279c
parente3b78bdcb294a04518ebd7d2547e6d5a6d8557c2 (diff)
parent77d97788cf400c58c4d0c7c908e5923266c74f7a (diff)
Merge branch 'master' of git.freeside.biz:/home/git/freeside
-rw-r--r--httemplate/elements/customer-table.html6
-rw-r--r--httemplate/misc/batch-cust_pay.html2
2 files changed, 7 insertions, 1 deletions
diff --git a/httemplate/elements/customer-table.html b/httemplate/elements/customer-table.html
index 25c26b584..457157e6d 100644
--- a/httemplate/elements/customer-table.html
+++ b/httemplate/elements/customer-table.html
@@ -108,6 +108,9 @@ and probably should be cleaned up more before being used by anything else.
var customer = document.getElementById('customer'+searchrow);
var customer_select = document.getElementById('cust_select'+searchrow);
+ var postPaymentBtn = document.getElementById('btnsubmit');
+ postPaymentBtn.disabled = false;
+
display_custnum_obj.disabled = false;
display_custnum_obj.style.backgroundColor = '#ffffff';
customer.disabled = false;
@@ -331,6 +334,9 @@ and probably should be cleaned up more before being used by anything else.
custnum_obj.value = 'Multiple'; // or something
custnum_obj.style.color = '#ff0000';
+ var postPaymentBtn = document.getElementById('btnsubmit');
+ postPaymentBtn.disabled = true;
+
//blank the current list
customer_select.options.length = 0;
diff --git a/httemplate/misc/batch-cust_pay.html b/httemplate/misc/batch-cust_pay.html
index e20e4a4e3..003dc86ac 100644
--- a/httemplate/misc/batch-cust_pay.html
+++ b/httemplate/misc/batch-cust_pay.html
@@ -448,7 +448,7 @@ function preload() {
&>
<BR>
-<INPUT TYPE="button" VALUE="Post payment batch" name="btnsubmit" onclick="window.onbeforeunload = null; document.OneTrueForm.submit(); this.disabled = true;">
+<INPUT TYPE="button" VALUE="Post payment batch" name="btnsubmit" id="btnsubmit" onclick="window.onbeforeunload = null; document.OneTrueForm.submit(); this.disabled = true;">
</FORM>