projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e301a95
)
resources/roo.builder.js
author
Alan Knowles
<alan@roojs.com>
Thu, 11 Jun 2015 08:00:24 +0000
(16:00 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 11 Jun 2015 08:00:24 +0000
(16:00 +0800)
resources/roo.builder.js
patch
|
blob
|
history
diff --git
a/resources/roo.builder.js
b/resources/roo.builder.js
index
c8d0057
..
295b1da
100644
(file)
--- a/
resources/roo.builder.js
+++ b/
resources/roo.builder.js
@@
-339,10
+339,13
@@
Builder = {
//Roo.log("Add xtype")
tree.el.attr('xtype', tree['|xns'] + '.' + tree['xtype']);
- if (!tree.items || !tree.items.length) { return; }
+
+
+ if (tree.items && !tree.items.length) {
//Roo.log(tree);
- for (var i = 0; i < tree.items.length; i++){
- this.applyFlexy(tree.items[i]);
+ for (var i = 0; i < tree.items.length; i++){
+ this.applyFlexy(tree.items[i]);
+ }
}
if (typeof(tree.menu) == 'object') {
this.applyFlexy(tree.menu);