projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
932807c
)
Roo/XComponent.js
author
Alan Knowles
<alan@akbkhome.com>
Sun, 1 Apr 2012 06:43:19 +0000
(14:43 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Sun, 1 Apr 2012 06:43:19 +0000
(14:43 +0800)
Roo/XComponent.js
patch
|
blob
|
history
diff --git
a/Roo/XComponent.js
b/Roo/XComponent.js
index
38e964a
..
53373e7
100644
(file)
--- a/
Roo/XComponent.js
+++ b/
Roo/XComponent.js
@@
-165,9
+165,10
@@
Roo.extend(Roo.XComponent, Roo.util.Observable, {
}
}
-
+
+ // The 'tree' method is '_tree now'
- var tree = this.tree();
+ var tree = this.
_tree ? this._tree() : this.
tree();
tree.region = tree.region || this.region;
this.el = this.parent.el.addxtype(tree);
this.fireEvent('built', this);