projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ce61935
)
Roo/bootstrap/Modal.js
author
john
<john@roojs.com>
Wed, 26 Sep 2018 03:46:18 +0000
(11:46 +0800)
committer
john
<john@roojs.com>
Wed, 26 Sep 2018 03:46:18 +0000
(11:46 +0800)
Roo/bootstrap/Modal.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Modal.js
b/Roo/bootstrap/Modal.js
index
54ae6de
..
d08c050
100644
(file)
--- a/
Roo/bootstrap/Modal.js
+++ b/
Roo/bootstrap/Modal.js
@@
-284,10
+284,7
@@
Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component, {
full_height += body_childs[i].offsetHeight;
}
- if(body_height + this.headerEl.getHeight() + this.footerEl.getHeight() > view_height) {
- this.setSize(w, Math.min);
- }
-
+ this.setSize(w, Math.min(full_height, view_height));
}
},