From: Alan Knowles Date: Mon, 10 Feb 2020 07:55:53 +0000 (+0800) Subject: Roo/form/ComboNested.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=e4fb689b6944ad1236916702139465fb11018bcf Roo/form/ComboNested.js --- diff --git a/Roo/form/ComboNested.js b/Roo/form/ComboNested.js index 83469c66f7..04b31717b5 100644 --- a/Roo/form/ComboNested.js +++ b/Roo/form/ComboNested.js @@ -389,18 +389,17 @@ Roo.extend(Roo.form.ComboNested, Roo.form.ComboBox, { cstore.loadDataFromChildren( r); var cret = _this.findRecordInStore(cstore, prop, value); if (cret !== false) { - record = r; + var ix = store.getIndexOf(r); + this.views[lvl].select(ix, false, true); // will not trigger select change.. + this.store.loadDataFromChildren(r); // will trigger load. + this.selectActive(lvl+1); return false; } } return true; }); - if (record !== false) { - var ix = store.getIndexOf(record); - this.views[lvl].function(ix, false, true); // will not trigger select change.. - } - + }