X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Roo%2Fbootstrap%2FModal.js;h=b44aa6fe41e0c90a1cf5ce85bc163e42e63f5374;hb=3e170041c1c2b7b2833d9d2b65f16bd3c237400d;hp=dbfdf0c673c0f63687609e2e565fc9d61fcff618;hpb=1f1497d5ab265039e0ef34e431789f67ab0c33f3;p=roojs1 diff --git a/Roo/bootstrap/Modal.js b/Roo/bootstrap/Modal.js index dbfdf0c673..b44aa6fe41 100644 --- a/Roo/bootstrap/Modal.js +++ b/Roo/bootstrap/Modal.js @@ -275,6 +275,10 @@ Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component, { var view_height = Roo.lib.Dom.getViewportHeight(true) - 60; var modal_height = this.headerEl.getHeight() + this.bodyEl.getHeight() + this.footerEl.getHeight(); + + Roo.log(view_height); + Roo.log(modal_height); + if( ( this.headerEl.getHeight() +