From e468362103cf42e205dcb14c197329b3c566aef9 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 10 Feb 2020 16:00:01 +0800 Subject: [PATCH] roojs-all.js roojs-debug.js Roo/form/ComboNested.js --- Roo/form/ComboNested.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Roo/form/ComboNested.js b/Roo/form/ComboNested.js index d81bce3d11..19e53812ee 100644 --- a/Roo/form/ComboNested.js +++ b/Roo/form/ComboNested.js @@ -369,15 +369,17 @@ Roo.extend(Roo.form.ComboNested, Roo.form.ComboBox, { data : [ ] }); // just need to determine which of the current level is selected if any.. - var value = this.getValue(); - var prop = this.hiddenName; + var store = this.stores[lvl]; - var _this = this; + if(store.getCount() < 1){ return; } + var value = this.getValue(); + var prop = this.hiddenName; + var _this = this; store.each(function(r){ // selected is at this level if(r.data[prop] == value){ -- 2.39.2