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

index 4631850..fd02740 100644 (file)
@@ -222,7 +222,7 @@ Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component,  {
         }
        
         this.el.addClass('on');
-        this.el.removeClass('fade');
+//        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));
@@ -238,7 +238,7 @@ Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component,  {
         this.maskEl.hide();
         Roo.get(document.body).removeClass("x-body-masked");
         this.el.removeClass('on');
-        this.el.addClass('fade');
+//        this.el.addClass('fade');
         this.el.setStyle('display', 'none');
         this.fireEvent('hide', this);
     },