var top = new Roo.bootstrap.Body({});
top.onRender(false,false);
-// this.bootstrapModal = top.addxtype(cfg.items[0]).items[0];
+ this.bootstrapModal = top.addxtype(cfg.items[0]).items[0];
Roo.log("config after is now");
Roo.log(top);
this.applyFlexy(top);
-//
-// if (cfg.items[0].xtype =='Modal' ) {
-// this.bootstrapModal.show();
-// }
+
+ if (cfg.items[0].xtype =='Modal' ) {
+ this.bootstrapModal.show();
+ }
return;
}