]> source.dussan.org Git - jquery.git/commitdiff
Fixes a regression by calling dataFilter with the second argument set as the dataType.
authorjaubourg <j@ubourg.net>
Wed, 12 Jan 2011 23:49:58 +0000 (00:49 +0100)
committerjaubourg <j@ubourg.net>
Wed, 12 Jan 2011 23:49:58 +0000 (00:49 +0100)
src/ajax.js

index a2b934d75d24fe6df92c378aaa878ab97e6f9e88..2c658b1e4fabf84a21927bfcfb3f152db1da1d11 100644 (file)
@@ -456,7 +456,7 @@ jQuery.extend({
                                                                }
                                                        } else if ( s.dataFilter ) {
 
-                                                               response = s.dataFilter( response );
+                                                               response = s.dataFilter( response , current );
                                                                dataTypes = s.dataTypes;
                                                        }
                                                }