projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
255413e
)
Roo/bootstrap/Modal.js
author
Edward
<edward@roojs.com>
Mon, 17 Sep 2018 06:28:30 +0000
(14:28 +0800)
committer
Edward
<edward@roojs.com>
Mon, 17 Sep 2018 06:28:30 +0000
(14:28 +0800)
Roo/bootstrap/Modal.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Modal.js
b/Roo/bootstrap/Modal.js
index
5c95b9c
..
d5f06b1
100644
(file)
--- a/
Roo/bootstrap/Modal.js
+++ b/
Roo/bootstrap/Modal.js
@@
-269,6
+269,7
@@
Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component, {
}
if(!this.fitwindow && this.maxWidth !== 0){
+ Roo.log(this.bodyEl.getHeight());
var w = Math.min(this.maxWidth, Roo.lib.Dom.getViewportWidth(true) - 30);
var h = this.height || Roo.lib.Dom.getViewportHeight(true) - 60;
this.setSize(w,h);