'textStatus' is still not available for jQuery.ajaxError() in v1.4.3.
I just looked at 1.4.3's code and found the following at line 5885:
handleError: function( s, xhr, status, e ) {
// If a local callback was specified, fire it
if ( s.error ) {
s.error.call( s.context, xhr, status, e );
}
// Fire the global callback
if ( s.global ) {
jQuery.triggerGlobal( s, "ajaxError", [xhr, s, e] );
}
},
Changing line 8 of the code snippet above to the following:
jQuery.triggerGlobal( s, "ajaxError", [xhr, s, e, status] );
will make 'textStatus' available to jQuery.ajaxError().
This seems too trivial to be an oversight by the core team. Is there a special reason not to make 'textStatus' available to global Ajax event handlers?