From 5778e202817f56f75c6e5b6817f1962778fa21c5 Mon Sep 17 00:00:00 2001 From: john Date: Fri, 28 Sep 2018 12:28:26 +0800 Subject: [PATCH] roojs-bootstrap.js roojs-bootstrap-debug.js --- roojs-bootstrap-debug.js | 1 + roojs-bootstrap.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/roojs-bootstrap-debug.js b/roojs-bootstrap-debug.js index f4050804f6..4f8308a0b2 100644 --- a/roojs-bootstrap-debug.js +++ b/roojs-bootstrap-debug.js @@ -2842,6 +2842,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; diff --git a/roojs-bootstrap.js b/roojs-bootstrap.js index aa2da3dcaa..790623fbcd 100644 --- a/roojs-bootstrap.js +++ b/roojs-bootstrap.js @@ -113,8 +113,8 @@ for(var i=0;i