Roo/bootstrap/Body.js
authorEdward <edward@roojs.com>
Fri, 13 Feb 2015 06:20:56 +0000 (14:20 +0800)
committerEdward <edward@roojs.com>
Fri, 13 Feb 2015 06:20:56 +0000 (14:20 +0800)
Roo/bootstrap/Body.js

index a26925b..e026de8 100644 (file)
@@ -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.
         
        
     }