Roo/form/ComboNested.js
authorAlan Knowles <alan@roojs.com>
Mon, 10 Feb 2020 06:37:46 +0000 (14:37 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 10 Feb 2020 06:37:46 +0000 (14:37 +0800)
Roo/form/ComboNested.js

index c0d7ed8..bb7d336 100644 (file)
@@ -292,7 +292,7 @@ Roo.extend(Roo.form.ComboNested, Roo.form.ComboBox, {
         if (!ix.length) {
             this.setFromData({});
             var str = this.stores[opts.list+1];
-            str.loadData( str.reader.readerType == 'json' ? { data : [] } : [] );
+            str.removeAll();
             return;
         }