PDA

View Full Version : Ext.StatusBar in Opera 9.0 error



Gr_And
4 Jun 2008, 2:16 AM
Hi! I try to add 3 StatusBar to Panel.


var LeftStatusPanel = new Ext.StatusBar({
defaultText: ''
});

var AverageStatusPanel = new Ext.StatusBar({
defaultText: ''
});

var RightStatusPanel = new Ext.StatusBar({
defaultText: ''
});

var StatusBars = new Ext.Panel({
region: 'south',
autoHeight: true,
margins: '0 0 0 0',
layout: 'column',
hideBorders: false,
items: [{
columnWidth: .25,
layout: 'fit',
items: [LeftStatusPanel]
},{
columnWidth: .5,
layout: 'fit',
items: [AverageStatusPanel]
},{
columnWidth: .25,
layout: 'fit',
items: [RightStatusPanel]
}]
});

In IE, FireFox it works, but Opera return error HIERARCHY_REQUEST_ERR.
Backtrace:


Line 14 of linked script http://192.168.1.78/client/lib/ext/ext-all.js
el = Ext.getDom(el);
el.parentNode.insertBefore(this.dom, el);
return this;
Line 159 of linked script http://192.168.1.78/client/lib/ext/ext-all.js
Ext.StatusBar.superclass.afterRender.call(this);
...

Where is my mistake?