projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a4d1df3
)
Roo/form/ComboNested.js
author
Alan Knowles
<alan@roojs.com>
Mon, 10 Feb 2020 06:36:53 +0000
(14:36 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 10 Feb 2020 06:36:53 +0000
(14:36 +0800)
Roo/form/ComboNested.js
patch
|
blob
|
history
diff --git
a/Roo/form/ComboNested.js
b/Roo/form/ComboNested.js
index
0e7828f
..
c0d7ed8
100644
(file)
--- a/
Roo/form/ComboNested.js
+++ b/
Roo/form/ComboNested.js
@@
-291,7
+291,8
@@
Roo.extend(Roo.form.ComboNested, Roo.form.ComboBox, {
if (!ix.length) {
this.setFromData({});
if (!ix.length) {
this.setFromData({});
- this.stores[opts.list+1].loadData( [] );
+ var str = this.stores[opts.list+1];
+ str.loadData( str.reader.readerType == 'json' ? { data : [] } : [] );
return;
}
return;
}