From 7afd95a950a9d3ffda49ce12e10decb3ea56ec92 Mon Sep 17 00:00:00 2001 From: erickson Date: Tue, 5 May 2009 18:27:31 +0000 Subject: [PATCH] dojo does not take kindly to numbers when it wants strings git-svn-id: svn://svn.open-ils.org/ILS/trunk@13080 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js b/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js index 36055401f3..5d1c857a30 100644 --- a/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js +++ b/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js @@ -203,7 +203,7 @@ if(!dojo._hasResource['openils.widget.AutoFieldWidget']) { if(this.cache[this.auth][lclass]) { var store = this.cache[this.auth][lclass]; var query = {}; - query[linkInfo.vfield.name] = this.widgetValue; + query[linkInfo.vfield.name] = ''+this.widgetValue; store.fetch({query:query, onComplete: function(list) { self.widgetValue = store.getValue(list[0], linkInfo.vfield.selector); -- 2.11.0