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

index 9b73bd9..cf9ef73 100644 (file)
@@ -23,7 +23,8 @@ Roo.bootstrap.Body = function(config)
     if (this.cls && this.cls.length) {
         Roo.get(document.body).addClass(this.cls);
     }
-    
+    this.initEvents();
+    this.fireEvent('render',this);
 };
 
 Roo.extend(Roo.bootstrap.Body, Roo.bootstrap.Component,  {
@@ -39,9 +40,9 @@ Roo.extend(Roo.bootstrap.Body, Roo.bootstrap.Component,  {
         }
         // style??? xttr???
         */
-       Roo.log("Roo.bootstrap.Body.onRender");
-        this.initEvents();
-       this.fireEvent('render',this);
+       //Roo.log("Roo.bootstrap.Body.onRender");
+        
+       
     }