From ccf12812795dd1a9094e70c8ad9309405072ed02 Mon Sep 17 00:00:00 2001 From: john Date: Wed, 26 Sep 2018 11:36:16 +0800 Subject: [PATCH] Roo/bootstrap/Modal.js --- Roo/bootstrap/Modal.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Roo/bootstrap/Modal.js b/Roo/bootstrap/Modal.js index e1a89653f5..c3ce30c64d 100644 --- a/Roo/bootstrap/Modal.js +++ b/Roo/bootstrap/Modal.js @@ -272,8 +272,15 @@ Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component, { var w = Math.min(this.max_width, Roo.lib.Dom.getViewportWidth(true) - 30); var view_height = Roo.lib.Dom.getViewportHeight(true) - 60; //without padding + var body_childs = this.bodyEl.dom.childNodes; + + for(var i = 0; i < this.bodyEl.dom.childNodes.length; i++) { + + } + this.setSize(w, this.height || view_height); - Roo.log(this.bodyEl.dom.offsetHeight); + + // // if( -- 2.39.2