projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Roo/bootstrap/Modal.js
[roojs1]
/
Roo
/
bootstrap
/
Modal.js
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));
}
},