Hello,
if you have a window (panel) with a tabpanel in it with several tabs, than there is an error thown while destroying the window (panel).
Just close the window without switchting the tabs:
"this.el has no properties
var btn = this.el.child(this.buttonSelector);"
Code:
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/ext-all.css" media="screen" id="theme"/>
<script src="/script/ext-base.js" type="text/javascript"></script>
<script src="/script/ext-all-debug.js" type="text/javascript"></script>
<script>
Ext.onReady(function(){
Ext.QuickTips.init();
new Ext.Window({
height: 200,
layout: "fit",
width: 200,
items: [{
xtype: "tabpanel",
activeTab: 0,
items: [{
title: "test",
buttons: [{
text: "test"
}]
},{
title: "test2",
buttons: [{
text: "test2"
}]
}]
}]
}).show();
});
</script>
</head>
<body>
</body>
</html>
I think this happens because the buttons in the "not yet viewed tabs" arent rendered.
If you switched the tabs before (got rendered) everything works fine.
Tested in FF (latest) and IE7 on windows with ext2 final
Sven