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

index 4631850..a83bde8 100644 (file)
@@ -221,14 +221,14 @@ Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component,  {
             this.render();
         }
        
-        this.el.addClass('on');
-        this.el.removeClass('fade');
+        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);
         
         
     },