Commit e12746d7 authored by Timmy Willison's avatar Timmy Willison

Small adjustment to prefilter test. Follow the right path for prefixes.

parent 68213f20
...@@ -1525,9 +1525,10 @@ module( "ajax", { ...@@ -1525,9 +1525,10 @@ module( "ajax", {
//----------- jQuery.ajaxPrefilter() //----------- jQuery.ajaxPrefilter()
ajaxTest( "jQuery.ajaxPrefilter() - abort", 1, { ajaxTest( "jQuery.ajaxPrefilter() - abort", 1, {
dataType: "prefix",
setup: function() { setup: function() {
// Ensure prefix does not throw an error // Ensure prefix does not throw an error
jQuery.ajaxPrefilter("+prefix *", function( options, _, jqXHR ) { jQuery.ajaxPrefilter("+prefix", function( options, _, jqXHR ) {
if ( options.abortInPrefilter ) { if ( options.abortInPrefilter ) {
jqXHR.abort(); jqXHR.abort();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment