Roo/bootstrap/Modal.js
authorAlan Knowles <alan@roojs.com>
Thu, 13 Jul 2017 08:10:08 +0000 (16:10 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 13 Jul 2017 08:10:08 +0000 (16:10 +0800)
Roo/bootstrap/Modal.js

index a3a836c..8de50af 100644 (file)
@@ -347,7 +347,7 @@ Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component,  {
             this.diff = this.dialogEl.getHeight() - this.bodyEl.getHeight();
         }
         
-        this.el.select('.modal-body',true).first().setHeight(h-this.diff);
+        this.bodyEl.setHeight(h-this.diff);
         
         
     },