aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax.js
diff options
context:
space:
mode:
authorAriel Flesler <aflesler@gmail.com>2008-06-17 21:03:20 +0000
committerAriel Flesler <aflesler@gmail.com>2008-06-17 21:03:20 +0000
commit35b8157507afaa28aa6e2e8efa5bb03315b33e1c (patch)
tree6c93ae2cc83111e79b49308c51b9e871826e63f8 /src/ajax.js
parent335b8816c2f1e66de1fa245278794f8c7fdb1e01 (diff)
downloadjquery-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.js2
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