[open-ils-commits] r13080 - trunk/Open-ILS/web/js/dojo/openils/widget (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Tue May 5 14:27:34 EDT 2009


Author: erickson
Date: 2009-05-05 14:27:31 -0400 (Tue, 05 May 2009)
New Revision: 13080

Modified:
   trunk/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js
Log:
dojo does not take kindly to numbers when it wants strings

Modified: trunk/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js	2009-05-05 17:16:29 UTC (rev 13079)
+++ trunk/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js	2009-05-05 18:27:31 UTC (rev 13080)
@@ -203,7 +203,7 @@
             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);



More information about the open-ils-commits mailing list