projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
622aec9
)
Roo/bootstrap/Component.js
author
Alan Knowles
<alan@roojs.com>
Thu, 21 Feb 2019 07:32:02 +0000
(15:32 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 21 Feb 2019 07:32:02 +0000
(15:32 +0800)
Roo/bootstrap/Component.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Component.js
b/Roo/bootstrap/Component.js
index
efb3f85
..
74ce341
100644
(file)
--- a/
Roo/bootstrap/Component.js
+++ b/
Roo/bootstrap/Component.js
@@
-384,13
+384,13
@@
Roo.extend(Roo.bootstrap.Component, Roo.BoxComponent, {
addxtypeChildren: function(child_array)
{
var nitems = [];
- if (!
tree.items || !tree.items
.length) {
+ if (!
child_array || !child_array
.length) {
this.items = nitems;
- //Roo.log(["no children", this]);
-
- return cn;
+ return this;
}
+
+
},