vendredi 2 mai 2014

Controller - >Event- Listeners not working anymore

It seems that all my Controller listeners not working anymore. I get the following message:

if (!fn) {

Ext.Error.raise({

sourceClass: Ext.getClassName(this.observable),

sourceMethod: "addListener",

msg: "The specified callback function is undefined"

});

}


I have something like this:



Code:



init : function() {
this.control({
'admindevicespanel' : {
beforeshow : this.beforePanelShowed
},
'admindevicespanel button[name=deleteDevice]' : {
click : this.deleteAdminDevice
}
});
},

Any ideas?


Aucun commentaire:

Enregistrer un commentaire