projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
82e1b69
)
Roo/form/ComboNested.js
author
Alan Knowles
<alan@roojs.com>
Mon, 10 Feb 2020 07:55:53 +0000
(15:55 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 10 Feb 2020 07:55:53 +0000
(15:55 +0800)
Roo/form/ComboNested.js
patch
|
blob
|
history
diff --git
a/Roo/form/ComboNested.js
b/Roo/form/ComboNested.js
index
83469c6
..
04b3171
100644
(file)
--- 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) {
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;
});
return false;
}
}
return true;
});
- if (record !== false) {
- var ix = store.getIndexOf(record);
- this.views[lvl].function(ix, false, true); // will not trigger select change..
- }
-
+
}
}