[open-ils-commits] r11671 - branches/rel_1_4/Open-ILS/xul/staff_client/server/patron
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Dec 23 15:08:53 EST 2008
Author: erickson
Date: 2008-12-23 15:08:49 -0500 (Tue, 23 Dec 2008)
New Revision: 11671
Modified:
branches/rel_1_4/Open-ILS/xul/staff_client/server/patron/ue_config.js
Log:
if we remove the only address, make sure addresses is still an array
Modified: branches/rel_1_4/Open-ILS/xul/staff_client/server/patron/ue_config.js
===================================================================
--- branches/rel_1_4/Open-ILS/xul/staff_client/server/patron/ue_config.js 2008-12-23 20:08:39 UTC (rev 11670)
+++ branches/rel_1_4/Open-ILS/xul/staff_client/server/patron/ue_config.js 2008-12-23 20:08:49 UTC (rev 11671)
@@ -509,6 +509,8 @@
}
)
);
+ if(!patron.addresses())
+ patron.addresses([]);
/* XXX */
for( var f in dataFields ) {
@@ -530,6 +532,8 @@
}
)
);
+ if(!patron.addresses())
+ patron.addresses([]);
} else {
address.isdeleted(1);
More information about the open-ils-commits
mailing list