[open-ils-commits] r11672 - trunk/Open-ILS/xul/staff_client/server/patron
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Dec 23 15:09:10 EST 2008
Author: erickson
Date: 2008-12-23 15:09:06 -0500 (Tue, 23 Dec 2008)
New Revision: 11672
Modified:
trunk/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: trunk/Open-ILS/xul/staff_client/server/patron/ue_config.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/ue_config.js 2008-12-23 20:08:49 UTC (rev 11671)
+++ trunk/Open-ILS/xul/staff_client/server/patron/ue_config.js 2008-12-23 20:09:06 UTC (rev 11672)
@@ -552,6 +552,8 @@
}
)
);
+ if(!patron.addresses())
+ patron.addresses([]);
/* XXX */
for( var f in dataFields ) {
@@ -573,6 +575,8 @@
}
)
);
+ if(!patron.addresses())
+ patron.addresses([]);
} else {
address.isdeleted(1);
More information about the open-ils-commits
mailing list