Skip to content
Permalink
Browse files

Revised logic in data conversion to account for when dataFilter modif…

…ies the dataTypes list.
  • Loading branch information...
jaubourg committed Dec 25, 2010
1 parent 981d1e0 commit 2a5c16f217416a7cb5afce72a0f25c66d074fc0c
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/ajax.js
@@ -415,6 +415,8 @@ jQuery.extend({

if ( i ) {

prev = dataTypes[ i - 1 ];

if ( prev !== "*" && current !== "*" && prev !== current ) {

oneConv = conv1 =
@@ -440,8 +442,6 @@ jQuery.extend({
response = s.dataFilter( response );
dataTypes = s.dataTypes;
}

prev = current;
}

// We have a real success

0 comments on commit 2a5c16f

Please sign in to comment.
You can’t perform that action at this time.