Roo/bootstrap/Modal.js
authorEdward <edward@roojs.com>
Fri, 27 Mar 2015 02:52:01 +0000 (10:52 +0800)
committerEdward <edward@roojs.com>
Fri, 27 Mar 2015 02:52:01 +0000 (10:52 +0800)
Roo/bootstrap/Modal.js

index e0778cd..7247d9a 100644 (file)
@@ -237,13 +237,11 @@ Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component,  {
             this.el.addClass('in');
         }
         
-//        this.el.removeClass('fade');
-//        this.el.setStyle('display', 'block');
-//        Roo.get(document.body).addClass("x-body-masked");
-//        this.maskEl.setSize(Roo.lib.Dom.getViewWidth(true), Roo.lib.Dom.getViewHeight(true));
-//        this.maskEl.show();
-//        this.el.setStyle('zIndex', '10001');
-//        this.fireEvent('show', this);
+        Roo.get(document.body).addClass("x-body-masked");
+        this.maskEl.setSize(Roo.lib.Dom.getViewWidth(true), Roo.lib.Dom.getViewHeight(true));
+        this.maskEl.show();
+        this.el.setStyle('zIndex', '10001');
+        this.fireEvent('show', this);
         
         
     },