From b5b12ffa8990931e350d80407317e61fbae36fd7 Mon Sep 17 00:00:00 2001 From: john Date: Fri, 28 Sep 2018 12:26:15 +0800 Subject: [PATCH] Roo/bootstrap/Modal.js --- Roo/bootstrap/Modal.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Roo/bootstrap/Modal.js b/Roo/bootstrap/Modal.js index 682d77ac03..4d422aa232 100644 --- a/Roo/bootstrap/Modal.js +++ b/Roo/bootstrap/Modal.js @@ -281,6 +281,7 @@ Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component, { if(!this.fit_content) { this.setSize(w, Roo.lib.Dom.getViewportHeight(true) - 60); + return; } var body_childs = this.bodyEl.dom.childNodes; -- 2.39.2