From: john Date: Fri, 28 Sep 2018 04:19:34 +0000 (+0800) Subject: Roo/bootstrap/Modal.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=48169d4616cd64b06a55dc5d63a67fbcd0559166 Roo/bootstrap/Modal.js --- diff --git a/Roo/bootstrap/Modal.js b/Roo/bootstrap/Modal.js index a322c15bf0..2b4036644c 100644 --- a/Roo/bootstrap/Modal.js +++ b/Roo/bootstrap/Modal.js @@ -286,12 +286,12 @@ Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component, { var full_height = this.headerEl.getHeight() + this.footerEl.getHeight(); for(var i = 0; i < body_childs.length; i++) { - // if(body_childs[i].classList.indexOf('roo-layout-region') * 1 != -1) { - // var layout_childs = body_childs[i].childNodes; - // for(var j = 0; j < layout_childs.length; j++) { - // - // } - // } + if(body_childs[i].classList.indexOf('roo-layout-region') * 1 != -1) { + var layout_childs = body_childs[i].childNodes; + for(var j = 0; j < layout_childs.length; j++) { + + } + } full_height += body_childs[i].offsetHeight; }