From 2bfb8b2d6a89584528619d3c716a84fd0a5ca70c Mon Sep 17 00:00:00 2001 From: john Date: Fri, 28 Sep 2018 12:01:45 +0800 Subject: [PATCH] Roo/bootstrap/Modal.js --- Roo/bootstrap/Modal.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Roo/bootstrap/Modal.js b/Roo/bootstrap/Modal.js index 7d40f7bedd..050bc1312b 100644 --- a/Roo/bootstrap/Modal.js +++ b/Roo/bootstrap/Modal.js @@ -281,6 +281,11 @@ Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component, { var body_childs = this.bodyEl.dom.childNodes; 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) { + + } + full_height += body_childs[i].offsetHeight; } -- 2.39.2