Skip to content
Permalink
Browse files
jquery ajax: closes #3052. Additional check on httpData() to keep com…
…patibility with older code (form plugin).
  • Loading branch information
flesler committed Jun 17, 2008
1 parent 335b881 commit 35b8157507afaa28aa6e2e8efa5bb03315b33e1c
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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

0 comments on commit 35b8157

Please sign in to comment.