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

index 7ba2693..a6e0be3 100644 (file)
@@ -259,7 +259,11 @@ Roo.extend(Roo.form.ComboNested, Roo.form.ComboBox, {
     onSelectChange : function (view, sels, opts )
     {
         var ix = view.getSelectedIndexes();
-        if (!ix.length|| opts.list > 1) {
+        if (opts.list > 1) {
+            return;
+        }
+        
+        if (!ix.length) {
             this.stores[opts.list+1].loadData( [] );
             return;
         }