Commit 35b81575 authored by Ariel Flesler's avatar Ariel Flesler

jquery ajax: closes #3052. Additional check on httpData() to keep...

jquery ajax: closes #3052. Additional check on httpData() to keep compatibility with older code (form plugin).
parent 335b8816
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment