roojs-debug.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 22 Dec 2011 05:13:50 +0000 (13:13 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 22 Dec 2011 05:13:50 +0000 (13:13 +0800)
roojs-debug.js

index 13024a4..5b4a22f 100644 (file)
@@ -30108,7 +30108,7 @@ Roo.MessageBox = function(){
         updateTextSize: function()
         {
         
-            var cw =  Math.max(msgEl.offsetWidth, msgEl.scrollWidth);
+            var cw =  Math.max(msgEl.offsetWidth, bodyEl.scrollWidth);
             Roo.log("guesed size: " + cw);
             var w = Math.max(
                     Math.min(opt.width || cw , this.maxWidth),