[freeside-commits] branch master updated. a1eb54c2661dad29992603e78682d9be2d372625
Mark Wells
mark at 420.am
Thu Jun 7 19:28:33 PDT 2012
The branch, master has been updated
via a1eb54c2661dad29992603e78682d9be2d372625 (commit)
from ec7a38be9f65ebfe5b950f552dc39beb7df1c8cb (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit a1eb54c2661dad29992603e78682d9be2d372625
Author: Mark Wells <mark at freeside.biz>
Date: Thu Jun 7 19:28:24 2012 -0700
fix quick payment entry when search returns exactly one row, #17972
diff --git a/httemplate/elements/customer-table.html b/httemplate/elements/customer-table.html
index fc1af69..a1e9732 100644
--- a/httemplate/elements/customer-table.html
+++ b/httemplate/elements/customer-table.html
@@ -250,7 +250,7 @@ Example:
if ( customerArrayArray.length == 1 ) {
- update_customer(customerArrayArray[1]);
+ update_customer(searchrow, customerArrayArray[0]);
% if ( $opt{custnum_update_callback} ) {
<% $opt{custnum_update_callback} %>(searchrow, '<% $opt{prefix} %>')
% }
-----------------------------------------------------------------------
Summary of changes:
httemplate/elements/customer-table.html | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
More information about the freeside-commits
mailing list