Looks like we can't reproduce the issue or there's a problem in the test case provided.
You're declaring the editor as an instance which means it will be shared across all classes. The first time you close the window the editor will be destroyed.
Code:
editor: {
xtype: 'combo',
// Other stuff
}
This applies to all things across the framework. You should almost never use new Foo() or Ext.create('Foo') when defining a class.Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
[CLOSED] Error: Cannot add destroyed item
Aucun commentaire:
Enregistrer un commentaire