Make it so prefilters get access to the original settings.

This commit is contained in:
jaubourg 2011-01-09 20:31:15 +01:00
parent 7bc5386230
commit 0f28835ee9

View File

@ -536,7 +536,7 @@ jQuery.extend({
} }
// Get transport // Get transport
transport = jQuery.ajax.prefilter( s ).transport( s ); transport = jQuery.ajax.prefilter( s , options ).transport( s );
// Watch for a new set of requests // Watch for a new set of requests
if ( s.global && jQuery.active++ === 0 ) { if ( s.global && jQuery.active++ === 0 ) {