[open-ils-commits] r11669 - branches/rel_1_2_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:21 EST 2008
Author: erickson
Date: 2008-12-23 15:08:17 -0500 (Tue, 23 Dec 2008)
New Revision: 11669
Modified:
branches/rel_1_2_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_2_4/Open-ILS/xul/staff_client/server/patron/ue_config.js
===================================================================
--- branches/rel_1_2_4/Open-ILS/xul/staff_client/server/patron/ue_config.js 2008-12-23 19:44:01 UTC (rev 11668)
+++ branches/rel_1_2_4/Open-ILS/xul/staff_client/server/patron/ue_config.js 2008-12-23 20:08:17 UTC (rev 11669)
@@ -523,6 +523,8 @@
}
)
);
+ if(!patron.addresses())
+ patron.addresses([]);
/* XXX */
for( var f in dataFields ) {
@@ -544,6 +546,8 @@
}
)
);
+ if(!patron.addresses())
+ patron.addresses([]);
} else {
address.isdeleted(1);
More information about the open-ils-commits
mailing list