[open-ils-commits] r7805 - trunk/Open-ILS/xul/staff_client/server/patron

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Sep 19 15:55:35 EDT 2007


Author: phasefx
Date: 2007-09-19 15:46:44 -0400 (Wed, 19 Sep 2007)
New Revision: 7805

Modified:
   trunk/Open-ILS/xul/staff_client/server/patron/search_form.xul
Log:
not sure when { value: , group: } objects started getting passed around here, but we can rip them apart as we come across them.  This fixes the [object Object] bug when spawning a patron search from a dup patron warning in the patron registration interface

Modified: trunk/Open-ILS/xul/staff_client/server/patron/search_form.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/search_form.xul	2007-09-19 18:13:43 UTC (rev 7804)
+++ trunk/Open-ILS/xul/staff_client/server/patron/search_form.xul	2007-09-19 19:46:44 UTC (rev 7805)
@@ -49,6 +49,7 @@
 				}
 				if (xulG.query) {
 					for (var i in xulG.query) {
+                        if (typeof xulG.query[i] == 'object') { xulG.query[i] = xulG.query[i].value; }
 						query[i] = xulG.query[i];
 					}
 				}



More information about the open-ils-commits mailing list