diff options
author | Ariel Flesler <aflesler@gmail.com> | 2008-06-17 21:03:20 +0000 |
---|---|---|
committer | Ariel Flesler <aflesler@gmail.com> | 2008-06-17 21:03:20 +0000 |
commit | 35b8157507afaa28aa6e2e8efa5bb03315b33e1c (patch) | |
tree | 6c93ae2cc83111e79b49308c51b9e871826e63f8 /src/ajax.js | |
parent | 335b8816c2f1e66de1fa245278794f8c7fdb1e01 (diff) | |
download | jquery-35b8157507afaa28aa6e2e8efa5bb03315b33e1c.tar.gz jquery-35b8157507afaa28aa6e2e8efa5bb03315b33e1c.zip |
jquery ajax: closes #3052. Additional check on httpData() to keep compatibility with older code (form plugin).
Diffstat (limited to 'src/ajax.js')
-rw-r--r-- | src/ajax.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ajax.js b/src/ajax.js index 42d0b280c..2dcf87060 100644 --- a/src/ajax.js +++ b/src/ajax.js @@ -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 |