From 7c0f98f57cb0be92f458f039af058177b245e6ef Mon Sep 17 00:00:00 2001 From: phasefx Date: Wed, 19 Sep 2007 19:46:44 +0000 Subject: [PATCH] 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 git-svn-id: svn://svn.open-ils.org/ILS/trunk@7805 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/patron/search_form.xul | 1 + 1 file changed, 1 insertion(+) diff --git a/Open-ILS/xul/staff_client/server/patron/search_form.xul b/Open-ILS/xul/staff_client/server/patron/search_form.xul index 322596a77b..700c9014a2 100644 --- a/Open-ILS/xul/staff_client/server/patron/search_form.xul +++ b/Open-ILS/xul/staff_client/server/patron/search_form.xul @@ -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]; } } -- 2.11.0