[freeside-commits] branch FREESIDE_2_3_BRANCH updated. 0948b20054aebe11ee24718556fd17f33c13699a
Mark Wells
mark at 420.am
Sat Jul 14 16:32:20 PDT 2012
The branch, FREESIDE_2_3_BRANCH has been updated
via 0948b20054aebe11ee24718556fd17f33c13699a (commit)
from 40102e7cb896a4eeb8823552cbb1e0c36278e228 (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 0948b20054aebe11ee24718556fd17f33c13699a
Author: Mark Wells <mark at freeside.biz>
Date: Sat Jul 14 16:31:35 2012 -0700
fix an error message in quick payment entry, from #17356
diff --git a/httemplate/elements/customer-table.html b/httemplate/elements/customer-table.html
index 1e717ca..ed2513d 100644
--- a/httemplate/elements/customer-table.html
+++ b/httemplate/elements/customer-table.html
@@ -198,7 +198,11 @@ Example:
var customerArrayArray = eval('(' + customers + ')') || [];
- if ( customerArrayArray.length == 1 ) {
+ if ( customerArrayArray.length == 0 ) {
+
+ update_customer(searchrow, []);
+
+ } else if ( customerArrayArray.length == 1 ) {
update_customer(searchrow, customerArrayArray[0]);
% if ( $opt{custnum_update_callback} ) {
@@ -272,7 +276,11 @@ Example:
custnum_obj.disabled = false;
custnum_obj.style.backgroundColor = '#ffffff';
- if ( customerArrayArray.length == 1 ) {
+ if ( customerArrayArray.length == 0 ) {
+
+ update_customer(searchrow, []);
+
+ } else if ( customerArrayArray.length == 1 ) {
update_customer(searchrow, customerArrayArray[0]);
% if ( $opt{custnum_update_callback} ) {
-----------------------------------------------------------------------
Summary of changes:
httemplate/elements/customer-table.html | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
More information about the freeside-commits
mailing list