Roo/bootstrap/Modal.js
authorjohn <john@roojs.com>
Fri, 28 Sep 2018 04:31:34 +0000 (12:31 +0800)
committerjohn <john@roojs.com>
Fri, 28 Sep 2018 04:31:34 +0000 (12:31 +0800)
Roo/bootstrap/Modal.js

index f9020a0..ff85a66 100644 (file)
@@ -267,6 +267,7 @@ Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component,  {
             var w = this.width || Roo.lib.Dom.getViewportWidth(true) - 30;
             var h = this.height || Roo.lib.Dom.getViewportHeight(true) - 60;
             this.setSize(w,h);
+            return;
         }
         
         if(!this.fitwindow && this.max_width !== 0){