roojs-ui.js
[roojs1] / roojs-ui-debug.js
index 5b70dc4..58da792 100644 (file)
@@ -1098,8 +1098,7 @@ Roo.data.SimpleStore = function(config)
     Roo.data.SimpleStore.superclass.constructor.call(this, {
         isLocal : true,
         reader: typeof(config.reader) != 'undefined' ? config.reader : new Roo.data.ArrayReader({
-                id: config.id,
-                fields : config.fields
+                id: config.id
             },
             Roo.data.Record.create(config.fields)
         ),
@@ -20501,7 +20500,7 @@ Roo.extend(Roo.form.ComboNested, Roo.form.ComboBox, {
     findRecordInStore : function(store, prop, value)
     {
         var cstore = new Roo.data.SimpleStore({
-            reader : this.store.reader,  // we need array reader.. for 
+            fields : this.store.reader.meta.fields, // we need array reader.. for 
             data : [ ]
         });
         var _this = this;