From: john Date: Fri, 28 Sep 2018 04:28:26 +0000 (+0800) Subject: roojs-bootstrap.js X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=5778e202817f56f75c6e5b6817f1962778fa21c5;p=roojs1 roojs-bootstrap.js roojs-bootstrap-debug.js --- 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