if (!this.parent) {
- el = el ? Roo.get(el) : false;
+ el = el ? Roo.get(el) : false;
// it's a top level one..
this.parent = {
this.fireEvent('built', this);
this.panel = this.el;
- this.layout = this.panel.layout;
+ this.layout = this.panel.layout;
+ this.parentLayout = this.parent.layout || false;
}
}
if (!obj.parent) {
- Roo.log("GOT top level module");
- Roo.log(obj);
+ Roo.debug && Roo.log("GOT top level module");
+ Roo.debug && Roo.log(obj);
obj.modules = new Roo.util.MixedCollection(false,
function(o) { return o.order + '' }
);