Roo/form/ComboNested.js
authorAlan Knowles <alan@roojs.com>
Fri, 7 Feb 2020 04:48:12 +0000 (12:48 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 7 Feb 2020 04:48:12 +0000 (12:48 +0800)
Roo/form/ComboNested.js

index ac87b4f..4d5af02 100644 (file)
@@ -168,7 +168,7 @@ Roo.extend(Roo.form.ComboNested, Roo.form.ComboBox, {
         //view.on('click', this.onViewClick, this, { list : i });
 
         store.on('beforeload', this.onBeforeLoad, this);
-        store.on('load', i > 0 ? this.onSubLoad : this.onLoad, this);
+        store.on('load', i > 0 ? this.onSubLoad : this.onLoad, this, { list  : i});
         store.on('loadexception', this.onLoadException, this);
 
           
@@ -221,8 +221,11 @@ Roo.extend(Roo.form.ComboNested, Roo.form.ComboBox, {
         } else {
             this.onEmptyResults();
         }
-        //this.stores[1].loadData([]);
-        //this.stores[2].loadData([]);
+        this.stores[1].loadData([]);
+        this.stores[2].loadData([]);
+        this.views
+        
+        
         //this.el.focus();
     },
     onSubLoad : function ()