projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad139f7
)
Roo/XComponent.js
author
Alan Knowles
<alan@akbkhome.com>
Wed, 6 Jun 2012 03:44:36 +0000
(11:44 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 6 Jun 2012 03:44:36 +0000
(11:44 +0800)
Roo/XComponent.js
patch
|
blob
|
history
diff --git
a/Roo/XComponent.js
b/Roo/XComponent.js
index
04b441e
..
35401e2
100644
(file)
--- a/
Roo/XComponent.js
+++ b/
Roo/XComponent.js
@@
-165,7
+165,11
@@
Roo.extend(Roo.XComponent, Roo.util.Observable, {
}
}
-
+ if (!this.parent.el) {
+ // probably an old style ctor, which has been disabled.
+ return;
+
+ }
// The 'tree' method is '_tree now'
var tree = this._tree ? this._tree() : this.tree();