From: phasefx Date: Wed, 19 Sep 2007 19:46:44 +0000 (+0000) Subject: not sure when { value: , group: } objects started getting passed around here, but... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=7c0f98f57cb0be92f458f039af058177b245e6ef;p=Evergreen.git 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 --- 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]; } }