/*!
- * Ext JS Library 3.0.0
- * Copyright(c) 2006-2009 Ext JS, LLC
- * licensing@extjs.com
- * http://www.extjs.com/license
+ * Ext JS Library 3.3.1
+ * Copyright(c) 2006-2010 Sencha Inc.
+ * licensing@sencha.com
+ * http://www.sencha.com/license
*/
Ext.debug = {};
// handleResize();
function handleResize(){
- var b = Ext.getBody()
+ var b = Ext.getBody();
var size = b.getViewSize();
if(size.height < b.dom.scrollHeight) {
size.width -= 18;
log : function(){
var markup = [ '<div style="padding:5px !important;border-bottom:1px solid #ccc;">',
Ext.util.Format.htmlEncode(Array.prototype.join.call(arguments, ', ')).replace(/\n/g, '<br/>').replace(/\s/g, ' '),
- '</div>'].join('');
+ '</div>'].join(''),
+ bd = this.body.dom;
this.body.insertHtml('beforeend', markup);
- this.body.scrollTo('top', 100000);
+ bd.scrollTop = bd.scrollHeight;
},
clear : function(){
if (c.id != this.id && c.id != this.bottomToolbar.id) {
var newNode = this.createNode(n,c);
if (!newNode.leaf) {
- this.parseChildItems(newNode)
+ this.parseChildItems(newNode);
}
}
}
this.parseRootNode();
var ci = Ext.getCmp('x-debug-compinfo');
if (ci) {
- ci.message('refreshed component tree - '+Ext.ComponentMgr.all.length)
+ ci.message('refreshed component tree - '+Ext.ComponentMgr.all.length);
}
}
});
this.toggleFunc = function() {
this.showFunc = !this.showFunc;
this.refreshNodes(this.currentObject);
- }
+ };
this.bbar = new Ext.Toolbar([{
text: 'Show Functions',
enableToggle: true,