dojo does not take kindly to numbers when it wants strings
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 5 May 2009 18:27:31 +0000 (18:27 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 5 May 2009 18:27:31 +0000 (18:27 +0000)
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

index 3605540..5d1c857 100644 (file)
@@ -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);