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