X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..2e847cf21b8ab9d15fa167b315ca5b2fa92638fc:/src/debug.js diff --git a/src/debug.js b/src/debug.js index ef986526..43f80bf9 100644 --- a/src/debug.js +++ b/src/debug.js @@ -1,6 +1,6 @@ /*! - * Ext JS Library 3.0.3 - * Copyright(c) 2006-2009 Ext JS, LLC + * Ext JS Library 3.1.1 + * Copyright(c) 2006-2010 Ext JS, LLC * licensing@extjs.com * http://www.extjs.com/license */ @@ -236,10 +236,11 @@ Ext.debug.LogPanel = Ext.extend(Ext.Panel, { log : function(){ var markup = [ '
', Ext.util.Format.htmlEncode(Array.prototype.join.call(arguments, ', ')).replace(/\n/g, '
').replace(/\s/g, ' '), - '
'].join(''); + ''].join(''), + bd = this.body.dom; this.body.insertHtml('beforeend', markup); - this.body.scrollTo('top', 100000); + bd.scrollTop = bd.scrollHeight; }, clear : function(){