projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f732bcf
)
Roo/MessageBox.js
author
Alan Knowles
<alan@akbkhome.com>
Mon, 21 Nov 2011 09:55:50 +0000
(17:55 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 21 Nov 2011 09:55:50 +0000
(17:55 +0800)
Roo/MessageBox.js
patch
|
blob
|
history
diff --git
a/Roo/MessageBox.js
b/Roo/MessageBox.js
index
ad95975
..
2328c61
100644
(file)
--- a/
Roo/MessageBox.js
+++ b/
Roo/MessageBox.js
@@
-178,12
+178,13
@@
Roo.MessageBox = function(){
if(dlg.isVisible()){
dlg.fixedcenter = false;
}
+ // to big, make it scoll.
if ( bodyEl.getHeight() > (Roo.lib.Dom.getViewHeight() - 100)) {
bodyEl.setHeight ( Roo.lib.Dom.getViewHeight() - 100 );
bodyEl.el.dom.style.overflow = '';
} else {
bodyEl.el.dom.style.height = '';
- bodyEl.el.dom.style.overflow
= '
';
+ bodyEl.el.dom.style.overflow
Y = 'auto
';
}
dlg.setContentSize(w, bodyEl.getHeight());