Roo/bootstrap/Modal.js
[roojs1] / roojs-bootstrap-debug.js
index 2e352ae..955f84f 100644 (file)
@@ -2711,7 +2711,7 @@ Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component,  {
             this.diff = this.el.select('.modal-dialog',true).first().getHeight() - this.el.select('.modal-body',true).first().getHeight();
         }
         
-        this.el.select('.modal-body',true).first().setWidth(h-this.diff);
+        this.el.select('.modal-body',true).first().setHeight(h-this.diff);
         
         
     },