PDA

View Full Version : problem with ptype



nicola.pippa
26 Jan 2011, 3:17 AM
Good morning, I have a problem with IE8. The browser gives me this error when i click on 'groups': 'ptype' is null or is not an object.
Does anyone know what can be caused?

{
region: 'west',
id: 'menu',
xtype: 'treepanel',
title: 'Menu',
collapsible: true,
autoScroll: true,
width: 200,
loader: new Ext.tree.TreeLoader(),
root: new Ext.tree.AsyncTreeNode({
text: ' ',
expanded: true,
iconCls: 'icon-house',
children: [{
text: 'Nuovo',
expanded: true,
iconCls: 'icon-add',
children: [{
text: 'rubric',
expanded: true,
id:'rubric',
iconCls: 'icon-book_addresses',
children: [{
text: 'groups',
leaf: true,
iconCls: 'icon-group',
listeners: {
click: function(e){
egp = new Ext.grid.EditorGridPanel(Application.GroupsPanel);
n = Ext.getCmp('tabpanel').add(egp);
Ext.getCmp('tabpanel').setActiveTab(n);
egp.store.load();
}
}
},{ ...