projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af54c5e
)
Roo/bootstrap/Body.js
author
Edward
<edward@roojs.com>
Fri, 13 Feb 2015 06:20:56 +0000
(14:20 +0800)
committer
Edward
<edward@roojs.com>
Fri, 13 Feb 2015 06:20:56 +0000
(14:20 +0800)
Roo/bootstrap/Body.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Body.js
b/Roo/bootstrap/Body.js
index
a26925b
..
e026de8
100644
(file)
--- a/
Roo/bootstrap/Body.js
+++ b/
Roo/bootstrap/Body.js
@@
-34,13
+34,10
@@
Roo.extend(Roo.bootstrap.Body, Roo.bootstrap.Component, {
},
onRender : function(ct, position)
{
- /* Roo.log("Roo.bootstrap.Body - onRender");
- if (this.cls && this.cls.length) {
- Roo.get(document.body).addClass(this.cls);
- }
- // style??? xttr???
- */
- //Roo.log("Roo.bootstrap.Body.onRender");
+
+ // code has to go in the constructor,
+ // as body is not really rendered, it just picks up the document.body in the
+ // constructor.
}