projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
roojs-all.js
[roojs1]
/
Roo
/
form
/
ComboNested.js
diff --git
a/Roo/form/ComboNested.js
b/Roo/form/ComboNested.js
index
b7aa8e5
..
d81bce3
100644
(file)
--- a/
Roo/form/ComboNested.js
+++ b/
Roo/form/ComboNested.js
@@
-372,6
+372,8
@@
Roo.extend(Roo.form.ComboNested, Roo.form.ComboBox, {
var value = this.getValue();
var prop = this.hiddenName;
var store = this.stores[lvl];
var value = this.getValue();
var prop = this.hiddenName;
var store = this.stores[lvl];
+ var _this = this;
+
if(store.getCount() < 1){
return;
}
if(store.getCount() < 1){
return;
}
@@
-380,7
+382,8
@@
Roo.extend(Roo.form.ComboNested, Roo.form.ComboBox, {
// selected is at this level
if(r.data[prop] == value){
var ix = store.getIndexOf(r);
// selected is at this level
if(r.data[prop] == value){
var ix = store.getIndexOf(r);
- this.views[lvl].select(ix, false, true); // do not trigger set active..
+ _this.views[lvl].select(ix, false, true); // do not trigger set active..
+ _this.loading
return false;
}
return false;
}
@@
-389,7
+392,7
@@
Roo.extend(Roo.form.ComboNested, Roo.form.ComboBox, {
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);
- this.views[lvl].select(ix, false, false); // will trigger select change..
+
_
this.views[lvl].select(ix, false, false); // will trigger select change..
return false;
}
}
return false;
}
}