Roo/bootstrap/Modal.js
authorjohn <john@roojs.com>
Wed, 26 Sep 2018 03:36:54 +0000 (11:36 +0800)
committerjohn <john@roojs.com>
Wed, 26 Sep 2018 03:36:54 +0000 (11:36 +0800)
Roo/bootstrap/Modal.js

index 25aabbe..99e50b6 100644 (file)
@@ -275,7 +275,7 @@ Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component,  {
             var body_childs = this.bodyEl.dom.childNodes;
             var body_height = 0;
             for(var i = 0; i < body_childs.length; i++) {
-                
+                body_height += body_childs[i].offsetHeight;
             }
             
             this.setSize(w, this.height || view_height);