When moving between panels I get the following error [WARN][Ext.Component#constructor] Registering a component with a id (`logOutButton`) which has already been used. Please ensure the existing component has been destroyed (`Ext.Component#destroy()`.
I can go back to the previous screen but the cannot go forward again without getting the above error.
To combat this I have tried using the code below, but it does not work. Can anyone help me out?
var loginView = Ext.getCmp('login');
loginView = Ext.create('com.view.Login');
I also tried:
Neither of these work and result in the same error and a blank screen. I am using Sencha Touch 2.
Your help is great appreciated.