From: jaubourg Date: Wed, 12 Jan 2011 23:49:58 +0000 (+0100) Subject: Fixes a regression by calling dataFilter with the second argument set as the dataType. X-Git-Url: http://git.asbjorn.biz/?a=commitdiff_plain;ds=inline;h=ed1144816b07fbb2ea94217fd967626619344ad9;p=jquery.git Fixes a regression by calling dataFilter with the second argument set as the dataType. --- diff --git a/src/ajax.js b/src/ajax.js index a2b934d..2c658b1 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; } }