projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5be2dfd
)
Roo/form/ComboNested.js
author
Alan Knowles
<alan@roojs.com>
Fri, 7 Feb 2020 07:54:14 +0000
(15:54 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 7 Feb 2020 07:54:14 +0000
(15:54 +0800)
Roo/form/ComboNested.js
patch
|
blob
|
history
diff --git
a/Roo/form/ComboNested.js
b/Roo/form/ComboNested.js
index
7d25c99
..
4bf769d
100644
(file)
--- a/
Roo/form/ComboNested.js
+++ b/
Roo/form/ComboNested.js
@@
-146,7
+146,7
@@
Roo.extend(Roo.form.ComboNested, Roo.form.ComboBox, {
this.tpl = new Roo.Template({
html : '<div class="'+cls+'-item '+cls+'-item-{cn:this.isEmpty}">{' + this.displayField + '}</div>',
isEmpty: function (value, allValues) {
- return value.length ? 'has-children' : 'no-children'
+ return value
&& value
.length ? 'has-children' : 'no-children'
}
});
}