Pman.Builder.View.js
authorEdward <edward@roojs.com>
Mon, 17 Mar 2014 09:45:37 +0000 (17:45 +0800)
committerEdward <edward@roojs.com>
Mon, 17 Mar 2014 09:45:37 +0000 (17:45 +0800)
Pman.Builder.View.js

index 83c4418..8ca12c3 100644 (file)
@@ -411,15 +411,15 @@ Pman.Builder.View = {
             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;
         }