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

index 3c844a8..ef2527e 100644 (file)
@@ -263,6 +263,7 @@ Roo.extend(Roo.form.ComboNested, Roo.form.ComboBox, {
         
         this.stores[opts.list+1].loadData( typeof(rec.data.cn) == 'undefined' ? [] : rec.data.cn);
         this.views[opts.list+1].getEl().setHeight( this.innerLists[0].getHeight());
+        this.views[opts.list+1].getEl().setStyle({ display : rec.data.cn.length ? 'block' : 'none' });
         this.innerLists[opts.list+1].setHeight( this.innerLists[0].getHeight());        
     }