PDA

View Full Version : Problems with IE



Tremor
1 Jul 2009, 10:13 AM
Hello!
I have some problems with Internet Explorer.


Ext.onReady(function() {
var ThemesTree = new Ext.tree.TreePanel({
title: 'Themes',
id: 'themes',
autoScroll:true,
animate:true,
enableDD:true,
containerScroll: true,
loader: new Ext.tree.TreeLoader(),
root: new Ext.tree.AsyncTreeNode({
expanded: true,
children: [{
text: 'Menu Option 1',
leaf: true
}, {
text: 'Menu Option 2',
leaf: true
}, {
text: 'Menu Option 3',
leaf: true
}]
}),
rootVisible: false
});
var viewport = new Ext.Viewport({
layout: 'border',
renderTo: Ext.getBody(),
items: [{
region: 'west',
xtype: 'tabpanel',
activeTab: 0,
id: 'lefttabs',
footer: true,
footerCfg: {
html: '0',
id: 'leftfooter',
cls: 'footer-cont'
},
items: [ThemesTree],
split: true,
width: 270
},{
region: 'center',
xtype: 'panel',
html: 'Center'
}]
});
});
For example, this code doesn't work in IE with Error a.apply(d,b) - here. (ext-all.js, line 8, char -415613). But it works fine in others browsers (FF, Opera, Chrome, Safari).
What i'm doing wrong? Can you help me? Thanks!

tryanDLS
1 Jul 2009, 10:25 AM
This fails with RC2, but works with latest SVN, so it's one of the recent bug fixes. Please retry with RC2.1 which should be out later this afternoon.

Tremor
1 Jul 2009, 11:35 AM
Thanks for a quick reply!