projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10a9bb0
)
Roo/XComponent.js
author
Alan Knowles
<alan@roojs.com>
Mon, 22 Sep 2014 09:29:37 +0000
(17:29 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 22 Sep 2014 09:29:37 +0000
(17:29 +0800)
Roo/XComponent.js
patch
|
blob
|
history
diff --git
a/Roo/XComponent.js
b/Roo/XComponent.js
index
dc93cd0
..
6bb3f18
100644
(file)
--- a/
Roo/XComponent.js
+++ b/
Roo/XComponent.js
@@
-174,9
+174,9
@@
Roo.extend(Roo.XComponent, Roo.util.Observable, {
switch (ename) {
case 'bootstrap-body' :
if (typeof(Roo.bootstrap.Body) != 'undefined') {
- this.parent =
Roo.factory(Roo.bootstrap,'Body')
;
+ this.parent =
{ el : Roo.factory(Roo.bootstrap,'Body') }
;
Roo.log("setting el to doc body");
- this.parent.el = Roo.get(document.body);
+
} else {
throw "Container is bootstrap body, but Roo.bootstrap.Body is not defined";
}