From 77d813f945996ef91dba622909a7204be6e1f614 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 10 Feb 2020 14:28:47 +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 91771f5085..9d41e3e540 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.data.total : data.length; ///json is a nested response.. + var dl = typeof(data.data.cn) != '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