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 f7ed2ac commit 85f0dda56289ed6c044dadb3a42b1a4d2ddb0891
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/ajax.js
@@ -430,6 +430,8 @@ jQuery.extend({

if ( i ) {

prev = dataTypes[ i - 1 ];

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

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

prev = current;
}

// We have a real success

0 comments on commit 85f0dda

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