projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3311264
)
Roo/MessageBox.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 22 Dec 2011 05:14:14 +0000
(13:14 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 22 Dec 2011 05:14:14 +0000
(13:14 +0800)
Roo/MessageBox.js
patch
|
blob
|
history
diff --git
a/Roo/MessageBox.js
b/Roo/MessageBox.js
index
4524591
..
2651ee3
100644
(file)
--- a/
Roo/MessageBox.js
+++ b/
Roo/MessageBox.js
@@
-170,13
+170,7
@@
Roo.MessageBox = function(){
dlg.resizeTo(this.maxWidth, 100); // resize first so content is never clipped from previous shows
}
msgEl.innerHTML = text || ' ';
- this.updateTextSize.defer(100, this);
- return this;
- },
-
- updateTextSize: function()
- {
-
+
var cw = Math.max(msgEl.offsetWidth, bodyEl.scrollWidth);
Roo.log("guesed size: " + cw);
var w = Math.max(