Skip to content
Permalink
Browse files
Small adjustment to prefilter test. Follow the right path for prefixes.
  • Loading branch information
timmywil committed Sep 12, 2013
1 parent 68213f2 commit e12746d
Showing 1 changed file with 2 additions and 1 deletion.
@@ -1525,9 +1525,10 @@ module( "ajax", {
//----------- jQuery.ajaxPrefilter()

ajaxTest( "jQuery.ajaxPrefilter() - abort", 1, {
dataType: "prefix",
setup: function() {
// Ensure prefix does not throw an error
jQuery.ajaxPrefilter("+prefix *", function( options, _, jqXHR ) {
jQuery.ajaxPrefilter("+prefix", function( options, _, jqXHR ) {
if ( options.abortInPrefilter ) {
jqXHR.abort();
}

0 comments on commit e12746d

Please sign in to comment.