View Full Version : Ext.onReady is not invoked in Ext JS 4.2.2

27 Nov 2013, 3:34 PM

I recently migrated my application to Ext JS 4.2.2 (from 4.2.1) and now in my init function I could not make Ext.onReady work -> handler which I pass to Ext.onReady is never invoked.

Usually I concatenate all files into one single file which has the following content: ext-dev.js + loader functionality (it loads all Ext JS sources) + my custom scripts + theme scripts.

Here is my init function:

initPage: function(view, config, commands) {
window.errors = [];
window.onerror = function(msg) {

_serverURL = config.url;
_config = config;

Ext.onReady(function() {...

If I concatenate my scripts with ext-all-dev.js then everything works fine so the problem is only with ext-dev.js. I am trying to figure everything myself but no progress so far. Only thing I found out is that the function which I pass into Ext.onReady is never invoked.

I assume that somehow ext-dev.js was changed so I cannot rely on it anymore. I can see that alternate mappings were changed significantly.

Thanks for any help.

Gary Schlosberg
27 Nov 2013, 4:51 PM
Do you see any errors in the console?

27 Nov 2013, 4:53 PM
THanks for your reply. Unfortunately no, that would be easier to find out what the problem is