From 6499a7aa1ed5fa91479b517ef6135bde1aab6cfe Mon Sep 17 00:00:00 2001 From: john Date: Fri, 28 Sep 2018 12:13:48 +0800 Subject: [PATCH] Roo/bootstrap/Modal.js --- Roo/bootstrap/Modal.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Roo/bootstrap/Modal.js b/Roo/bootstrap/Modal.js index b24a8cca1b..ccde0e76cb 100644 --- a/Roo/bootstrap/Modal.js +++ b/Roo/bootstrap/Modal.js @@ -282,12 +282,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; } -- 2.39.2