Roo/bootstrap/Modal.js
[roojs1] / roojs-bootstrap-debug.js
index d36ef0a..516c844 100644 (file)
@@ -2833,8 +2833,8 @@ Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component,  {
             var w = Math.min(this.max_width, Roo.lib.Dom.getViewportWidth(true) - 30);
             // var h = this.height || Roo.lib.Dom.getViewportHeight(true) - 60;
             this.setSize(w,this.height);
-            Roo.log(this.bodyEl.getHeight());
-            // var view_height = Roo.lib.Dom.getViewportHeight(true) - 60;
+            Roo.log(this.bodyEl.dom.offsetHeight);
+            var view_height = Roo.lib.Dom.getViewportHeight(true) - 60;
             // 
             // if(
             //     (