aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjaubourg <j@ubourg.net>2011-01-13 00:49:58 +0100
committerjaubourg <j@ubourg.net>2011-01-13 00:49:58 +0100
commited1144816b07fbb2ea94217fd967626619344ad9 (patch)
tree160f2b1d20fa9c65f75066888f46c26168e95e87 /src
parente9fb7d5be6e079aaa2cf0c3092c6f15cd1285bf4 (diff)
downloadjquery-ed1144816b07fbb2ea94217fd967626619344ad9.tar.gz
jquery-ed1144816b07fbb2ea94217fd967626619344ad9.zip
Fixes a regression by calling dataFilter with the second argument set as the dataType.
Diffstat (limited to 'src')
-rw-r--r--src/ajax.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ajax.js b/src/ajax.js
index a2b934d75..2c658b1e4 100644
--- a/src/ajax.js
+++ b/src/ajax.js
@@ -456,7 +456,7 @@ jQuery.extend({
}
} else if ( s.dataFilter ) {
- response = s.dataFilter( response );
+ response = s.dataFilter( response , current );
dataTypes = s.dataTypes;
}
}