git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
335b881
)
jquery ajax: closes #3052. Additional check on httpData() to keep compatibility with...
author
Ariel Flesler
<aflesler@gmail.com>
Tue, 17 Jun 2008 21:03:20 +0000
(21:03 +0000)
committer
Ariel Flesler
<aflesler@gmail.com>
Tue, 17 Jun 2008 21:03:20 +0000
(21:03 +0000)
src/ajax.js
patch
|
blob
|
history
diff --git
a/src/ajax.js
b/src/ajax.js
index
42d0b28
..
2dcf870
100644
(file)
--- 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