static/ext/src/data/Connection.js
function(request, xdrResult) {
        var me = this;

        // Using CORS with IE doesn't support readyState so we fake it
        if ((request.xhr && request.xhr.readyState == 4) || me.isXdr) {
            me.clearTimeout(request);
            me.onComplete(request, xdrResult);
            me.cleanup(request);
            Ext.EventManager.idleEvent.fire();
        }
    }
function(request, xdrResult) {
        var me = this;

        // Using CORS with IE doesn't support readyState so we fake it
        if ((request.xhr && request.xhr.readyState == 4) || me.isXdr) {
            me.clearTimeout(request);
            me.onComplete(request, xdrResult);
            me.cleanup(request);
            Ext.EventManager.idleEvent.fire();
        }
    }
function ( request , xdrResult ) { var me = this ; // Using CORS with IE doesn't support readyState so we fake it if ( ( request . xhr && request . xhr . readyState == 4 ) || me . isXdr ) { me . clearTimeout ( request ) ; me . onComplete ( request , xdrResult ) ; me . cleanup ( request ) ; Ext . EventManager . idleEvent . fire ( ) ; } }
Fires when the state of the xhr changes
@private
@param {Object} request The request
Fires when the state of the xhr changes