X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Roo%2Fform%2FComboNested.js;h=13ecced01227a50887185b79ae575c380a1188c1;hb=36e4980d284c31847d1ebc2c6018212ce515fcd8;hp=f5f67f2c300eb24666025c3ecd7f9c85706c5e4e;hpb=d36c6c0a6a6b8c4894d0c0bb28feacd611de2a88;p=roojs1 diff --git a/Roo/form/ComboNested.js b/Roo/form/ComboNested.js index f5f67f2c30..13ecced012 100644 --- a/Roo/form/ComboNested.js +++ b/Roo/form/ComboNested.js @@ -281,7 +281,6 @@ Roo.extend(Roo.form.ComboNested, Roo.form.ComboBox, { var ix = view.getSelectedIndexes(); if (opts.list > this.maxColumns - 2) { - this.setFromData(ix.length ? view.store.getAt(ix[0]).data : {}); return; } @@ -313,8 +312,7 @@ Roo.extend(Roo.form.ComboNested, Roo.form.ComboBox, { if (this.isLoading) { this.selectActive(opts.list); } - - + }, onDoubleClick : function() { @@ -390,9 +388,7 @@ Roo.extend(Roo.form.ComboNested, Roo.form.ComboBox, { var cret = _this.findRecordInStore(cstore, prop, value); if (cret !== false) { 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); + this.views[lvl].select(ix, false, false); // will trigger select change.. return false; } }