From: erickson Date: Tue, 5 May 2009 18:27:31 +0000 (+0000) Subject: dojo does not take kindly to numbers when it wants strings X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=7afd95a950a9d3ffda49ce12e10decb3ea56ec92;p=Evergreen.git 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 --- 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);