if (this.cls && this.cls.length) {
Roo.get(document.body).addClass(this.cls);
}
- if (this.do_render) {
- this.onRender(do_render, '')
+ if (config.do_render) {
+ this.onRender(config.do_render, '')
}
};
Roo.extend(Roo.bootstrap.Body, Roo.bootstrap.Component, {
+ do_render : false,
is_body : true,// just to make sure it's constructed?
autoCreate : {
},
onRender : function(ct, position)
{
- /* Roo.log("Roo.bootstrap.Body - onRender");
+
+ /* Roo.log("Roo.bootstrap.Body - onRender");
if (this.cls && this.cls.length) {
Roo.get(document.body).addClass(this.cls);
}