projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
01c4756
)
Roo/form/ComboNested.js
author
Alan Knowles
<alan@roojs.com>
Mon, 10 Feb 2020 07:58:50 +0000
(15:58 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 10 Feb 2020 07:58:50 +0000
(15:58 +0800)
Roo/form/ComboNested.js
patch
|
blob
|
history
diff --git
a/Roo/form/ComboNested.js
b/Roo/form/ComboNested.js
index
13ecced
..
07dcb31
100644
(file)
--- a/
Roo/form/ComboNested.js
+++ b/
Roo/form/ComboNested.js
@@
-375,16
+375,17
@@
Roo.extend(Roo.form.ComboNested, Roo.form.ComboBox, {
if(store.getCount() < 1){
return;
}
if(store.getCount() < 1){
return;
}
- var record = false;
+
store.each(function(r){
// selected is at this level
if(r.data[prop] == value){
store.each(function(r){
// selected is at this level
if(r.data[prop] == value){
- record = r;
+ var ix = store.getIndexOf(r);
+ this.views[lvl].select(ix, false, true);
return false;
}
if (r.data.cn && r.data.cn.length) {
return false;
}
if (r.data.cn && r.data.cn.length) {
- cstore.loadDataFromChildren(
r);
+ cstore.loadDataFromChildren(r);
var cret = _this.findRecordInStore(cstore, prop, value);
if (cret !== false) {
var ix = store.getIndexOf(r);
var cret = _this.findRecordInStore(cstore, prop, value);
if (cret !== false) {
var ix = store.getIndexOf(r);