PDA

View Full Version : Can't close or switch tab in IE



taronja
30 Apr 2010, 2:15 AM
I have a tab panel with many tabs in it. My problem is that I can't close tabs or change to another tab in IE and Chrome. I click over it and nothing happens. It seems like tabs were disabled but this doesn't happen in FF.
I post some sample code. Any idea?


var contentPanel = new Ext.TabPanel({
region : 'center',
id : 'center-panel',
border : true,
margins : '0 0 0 0',
tabPosition:'bottom',
deferredRender:false,
tabMargin: 0,
autoScroll : true,
enableTabScroll:true,
});
contentPanel.add({
xtype : 'iframepanel',
id : tabName,
tabTip : tabPath,
border : false,
title : tabName,
closable : true,
fit : true,
iconCls : icon,
loadMask : {
msg : 'Loading ...'
},

defaultSrc : urlLink
}).show();
contentPanel.setActiveTab(tabName);

}

}



Thanks,
Lola

Rothariger
30 Apr 2010, 3:02 AM
what does contain this...



closable : close,

taronja
30 Apr 2010, 3:20 AM
sorry I've missed the closable attribute in the code I've pasted but it is in my code

closable: true

taronja
7 May 2010, 12:09 AM
I'm wondering if this issue may be caused by a hidden layer over my tabs. As I said, there's a portview with a tab panel feeded dynamically which opens one tab besides another and so on. Any clue will be very appreciated.

Condor
7 May 2010, 12:19 AM
The code you posted wouldn't cause this. Some other part of your code perhaps?

ps. A tabpanel shouldn't be autoScroll:true.