backport to rel_1_2 the patron registration->patron dup search "[object Object]"...
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 19 Sep 2007 19:48:55 +0000 (19:48 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 19 Sep 2007 19:48:55 +0000 (19:48 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2@7806 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/patron/search_form.xul

index 322596a..700c901 100644 (file)
@@ -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];
                                        }
                                }