projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d36c6c0
)
Roo/form/ComboNested.js
author
Alan Knowles
<alan@roojs.com>
Mon, 10 Feb 2020 07:58:05 +0000
(15:58 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 10 Feb 2020 07:58:05 +0000
(15:58 +0800)
Roo/form/ComboNested.js
patch
|
blob
|
history
diff --git
a/Roo/form/ComboNested.js
b/Roo/form/ComboNested.js
index
f5f67f2
..
13ecced
100644
(file)
--- 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) {
var ix = view.getSelectedIndexes();
if (opts.list > this.maxColumns - 2) {
-
this.setFromData(ix.length ? view.store.getAt(ix[0]).data : {});
return;
}
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);
}
if (this.isLoading) {
this.selectActive(opts.list);
}
-
-
+
},
onDoubleClick : function()
{
},
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);
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;
}
}
return false;
}
}