From: john Date: Wed, 26 Sep 2018 03:45:52 +0000 (+0800) Subject: Roo/bootstrap/Modal.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=ce61935c5dc9b1048aea699e6c4299f3dd4641de Roo/bootstrap/Modal.js --- diff --git a/Roo/bootstrap/Modal.js b/Roo/bootstrap/Modal.js index c2dc2fb853..54ae6de120 100644 --- a/Roo/bootstrap/Modal.js +++ b/Roo/bootstrap/Modal.js @@ -279,7 +279,7 @@ Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component, { var view_height = Roo.lib.Dom.getViewportHeight(true) - 60; var body_childs = this.bodyEl.dom.childNodes; - var full_height = 0; + var full_height = this.headerEl.getHeight() + this.footerEl.getHeight(); for(var i = 0; i < body_childs.length; i++) { full_height += body_childs[i].offsetHeight; }