Roo/LayoutManager.js
authorEdward <edward@roojs.com>
Wed, 9 Apr 2014 08:51:56 +0000 (16:51 +0800)
committerEdward <edward@roojs.com>
Wed, 9 Apr 2014 08:51:56 +0000 (16:51 +0800)
Roo/LayoutManager.js

index 4531685..f7d7c7f 100644 (file)
  * Base class for layout managers.
  */
 Roo.LayoutManager = function(container, config){
-    Roo.log('3');
-    
     Roo.LayoutManager.superclass.constructor.call(this);
-    
     this.el = Roo.get(container);
-    
     // ie scrollbar fix
     if(this.el.dom == document.body && Roo.isIE && !config.allowScroll){
         document.body.scroll = "no";
     }else if(this.el.dom != document.body && this.el.getStyle('position') == 'static'){
-//        this.el.position('relative');
+        this.el.position('relative');
     }
-//    Roo.log(this);
-//    return;
     this.id = this.el.id;
     this.el.addClass("x-layout-container");
-    
     /** false to disable window resize monitoring @type Boolean */
     this.monitorWindowResize = true;
     this.regions = {};