]> source.dussan.org Git - jquery.git/commitdiff
jquery ajax: closes #3052. Additional check on httpData() to keep compatibility with...
authorAriel Flesler <aflesler@gmail.com>
Tue, 17 Jun 2008 21:03:20 +0000 (21:03 +0000)
committerAriel Flesler <aflesler@gmail.com>
Tue, 17 Jun 2008 21:03:20 +0000 (21:03 +0000)
src/ajax.js

index 42d0b280ca41478cc7f2f81acba382d69a2a50f4..2dcf87060313d70359973b1f811dc4d3f5ba13c1 100644 (file)
@@ -470,7 +470,7 @@ jQuery.extend({
                        throw "parsererror";
                        
                // Allow a pre-filtering function to sanitize the response
-               if( s.dataFilter )
+               if( s && s.dataFilter )
                        data = s.dataFilter( data, type );
 
                // If the type is "script", eval it in global context