Roo/bootstrap/Body.js
authorAlan Knowles <alan@roojs.com>
Fri, 7 Feb 2014 06:16:24 +0000 (14:16 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 7 Feb 2014 06:16:24 +0000 (14:16 +0800)
Roo/bootstrap/Body.js

index 7c63d3d..e907516 100644 (file)
@@ -6,6 +6,7 @@
  */ 
 Roo.bootstrap.Body = function(config){
     Roo.bootstrap.Body.superclass.constructor.call(this, config);
+    this.el = Roo.get(document.body);
 };
 
 Roo.extend(Roo.bootstrap.Body, Roo.bootstrap.Component,  {
@@ -14,7 +15,7 @@ Roo.extend(Roo.bootstrap.Body, Roo.bootstrap.Component,  {
         cls: 'container'
     },
     onRender : function(ct, position){
-        this.el = Roo.get(document.body);
+        
         
         //this.el.addClass([this.fieldClass, this.cls]);