From ed1144816b07fbb2ea94217fd967626619344ad9 Mon Sep 17 00:00:00 2001 From: jaubourg Date: Thu, 13 Jan 2011 00:49:58 +0100 Subject: [PATCH] Fixes a regression by calling dataFilter with the second argument set as the dataType. --- src/ajax.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }