jquery ajax: closes #3052. Additional check on httpData() to keep compatibility with older code (form plugin).
This commit is contained in:
parent
335b8816c2
commit
35b8157507
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue