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

index f4a356a..0965429 100644 (file)
@@ -222,7 +222,7 @@ Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component,  {
         }
         var _this = this
        this.el.setStyle('display', 'block');
-        (function(){ _this.el.addClass('in'); }).defer(100);
+        (function(){ _this.el.addClass('in'); }).defer(1000);
 //        this.el.removeClass('fade');
 //        this.el.setStyle('display', 'block');
 //        Roo.get(document.body).addClass("x-body-masked");
@@ -241,7 +241,7 @@ Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component,  {
         this.el.removeClass('in');
 //        this.el.addClass('fade');
 var _this = this;
-(function(){ _this.el.setStyle('display', 'none'); }).defer(100);
+(function(){ _this.el.setStyle('display', 'none'); }).defer(1000);
         
         this.fireEvent('hide', this);
     },