jquery ajax: closes #3052. Additional check on httpData() to keep compatibility with...
[jquery.git] / src / ajax.js
index 42d0b28..2dcf870 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