From c77e2e6e548e55a4fabc2ec5f5cd49bf765edfa4 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 10 Feb 2020 14:29:40 +0800 Subject: [PATCH] Roo/form/ComboNested.js --- Roo/form/ComboNested.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Roo/form/ComboNested.js b/Roo/form/ComboNested.js index 9d41e3e540..36e874b003 100644 --- a/Roo/form/ComboNested.js +++ b/Roo/form/ComboNested.js @@ -297,7 +297,7 @@ Roo.extend(Roo.form.ComboNested, Roo.form.ComboBox, { ((this.listWidth * 3 || Math.max(this.wrap.getWidth(), this.minListWidth)) - this.list.getFrameWidth('lr')) / 3 ); var data = typeof(rec.data.cn) == 'undefined' ? [] : rec.data.cn; - var dl = typeof(data.data.cn) != 'undefined' ? data.total : data.length; ///json is a nested response.. + var dl = typeof(data.data) != 'undefined' ? data.total : data.length; ///json is a nested response.. this.stores[opts.list+1].loadData( data ); this.views[opts.list+1].getEl().setHeight( this.innerLists[0].getHeight()); this.views[opts.list+1].getEl().setStyle({ display : dl ? 'block' : 'none' }); -- 2.39.2