From 34ca055c8b4ee3ae5d1f9d42ba3ff13e007d3118 Mon Sep 17 00:00:00 2001 From: john Date: Fri, 28 Sep 2018 11:47:14 +0800 Subject: [PATCH] Roo/bootstrap/Modal.js roojs-bootstrap.js roojs-bootstrap-debug.js --- Roo/bootstrap/Modal.js | 2 +- roojs-bootstrap-debug.js | 2 +- roojs-bootstrap.js | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Roo/bootstrap/Modal.js b/Roo/bootstrap/Modal.js index 7d40f7bedd..74e2e3c996 100644 --- a/Roo/bootstrap/Modal.js +++ b/Roo/bootstrap/Modal.js @@ -271,7 +271,7 @@ Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component, { if(!this.fitwindow && this.max_width !== 0){ var w = Math.min(this.max_width, Roo.lib.Dom.getViewportWidth(true) - 30); - + this.setSize(w, this.height || Roo.lib.Dom.getViewportHeight(true) - 60); // for fix height if(this.height) { this.setSize(w, this.height); diff --git a/roojs-bootstrap-debug.js b/roojs-bootstrap-debug.js index ceb8e4a852..c1730d17cf 100644 --- a/roojs-bootstrap-debug.js +++ b/roojs-bootstrap-debug.js @@ -2832,7 +2832,7 @@ Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component, { if(!this.fitwindow && this.max_width !== 0){ var w = Math.min(this.max_width, Roo.lib.Dom.getViewportWidth(true) - 30); - + this.setSize(w, this.height || Roo.lib.Dom.getViewportHeight(true) - 60); // for fix height if(this.height) { this.setSize(w, this.height); diff --git a/roojs-bootstrap.js b/roojs-bootstrap.js index e7f6ed84d7..dcc35d69eb 100644 --- a/roojs-bootstrap.js +++ b/roojs-bootstrap.js @@ -112,10 +112,10 @@ for(var i=0;i