Dec 03, 2014, 7:17 PM
[CLOSED] Ext.AbstractManager was deprecated
To Whom It May Concern: Ext.AbstractManager was deprecated, use Ext.ComponentManager instead, as shown below:
Going further, Ext.ComponentManager has a new method onAvailable (Registers a function that will be called (a single time) when an item with the specified id is added to the manager. This will happen on instantiation). For more information: http://docs-origin.sencha.com/extjs/...od-onAvailable
Going further, Ext.ComponentManager has a new method onAvailable (Registers a function that will be called (a single time) when an item with the specified id is added to the manager. This will happen on instantiation). For more information: http://docs-origin.sencha.com/extjs/...od-onAvailable
Ext.AbstractManager.override({
register: function (item) {
this.callParent(arguments);
//Your Custom Logic
},
unregister: function (item) {
this.callParent(arguments);
//Your Custom Logic
}
});
Ext.override(Ext.ComponentManager, {
register: function (item) {
this.callParent(arguments);
//Your Custom Logic
},
unregister: function (item) {
this.callParent(arguments);
//Your Custom Logic
}
});
Last edited by Daniil; Dec 03, 2014 at 7:54 PM.
Reason: [CLOSED]