projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05279e6
)
Roo/MessageBox.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 22 Dec 2011 05:22:12 +0000
(13:22 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 22 Dec 2011 05:22:12 +0000
(13:22 +0800)
Roo/MessageBox.js
patch
|
blob
|
history
diff --git
a/Roo/MessageBox.js
b/Roo/MessageBox.js
index
2651ee3
..
8cb6013
100644
(file)
--- a/
Roo/MessageBox.js
+++ b/
Roo/MessageBox.js
@@
-172,7
+172,7
@@
Roo.MessageBox = function(){
msgEl.innerHTML = text || ' ';
var cw = Math.max(msgEl.offsetWidth, bodyEl.scrollWidth);
- Roo.log("guesed size: " +
cw
);
+ Roo.log("guesed size: " +
JSON.stringify([cw,msgEl.offsetWidth, bodyEl.scrollWidth])
);
var w = Math.max(
Math.min(opt.width || cw , this.maxWidth),
Math.max(opt.minWidth || this.minWidth, bwidth)