From 38c928df7e37289583b18ba7dfa1ab54ad7c04d9 Mon Sep 17 00:00:00 2001 From: john Date: Fri, 28 Sep 2018 11:57:23 +0800 Subject: [PATCH] Roo/bootstrap/Modal.js --- Roo/bootstrap/Modal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Roo/bootstrap/Modal.js b/Roo/bootstrap/Modal.js index 74e2e3c996..7d40f7bedd 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); -- 2.39.2