Roo/XComponent.js
authorAlan Knowles <alan@akbkhome.com>
Sun, 1 Apr 2012 08:10:22 +0000 (16:10 +0800)
committerAlan Knowles <alan@akbkhome.com>
Sun, 1 Apr 2012 08:10:22 +0000 (16:10 +0800)
Roo/XComponent.js

index 59dc24d..80ca871 100644 (file)
@@ -174,7 +174,8 @@ Roo.extend(Roo.XComponent, Roo.util.Observable, {
         this.fireEvent('built', this);
         
         this.panel = this.el;
-        this.layout = this.panel.layout;    
+        this.layout = this.panel.layout;
+               this.parentLayout = this.parent.layout  || false;  
          
     }