Pman.Builder.View.js
authorEdward <edward@roojs.com>
Thu, 20 Mar 2014 10:01:10 +0000 (18:01 +0800)
committerEdward <edward@roojs.com>
Thu, 20 Mar 2014 10:01:10 +0000 (18:01 +0800)
Pman.Builder.View.js

index 56414e7..6119ab7 100644 (file)
@@ -402,18 +402,19 @@ Pman.Builder.View = {
         if (cfg.items[0]['|xns'] == 'Roo.bootstrap') {
             
             Roo.log("bootstrap build!?");
+            
             var top = new Roo.bootstrap.Body({});
             top.onRender(false,false);
             
             this.bootstrapModal = top.addxtype(cfg.items[0]).items[0];
             
+            this.applyFlexy(top);
+
             if (cfg.items[0].xtype =='Modal' ) {
                 this.bootstrapModal.show()
                 return;
             }
             
-            this.applyFlexy(top);
-
             return;
         }