Roo/MessageBox.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 22 Dec 2011 05:14:14 +0000 (13:14 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 22 Dec 2011 05:14:14 +0000 (13:14 +0800)
Roo/MessageBox.js

index 4524591..2651ee3 100644 (file)
@@ -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 || '&#160;';
-            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(