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:
260fc23
)
And the rest of the _default change.
author
John Resig
<jeresig@gmail.com>
Mon, 14 Jan 2008 19:37:31 +0000
(19:37 +0000)
committer
John Resig
<jeresig@gmail.com>
Mon, 14 Jan 2008 19:37:31 +0000
(19:37 +0000)
src/ajax.js
patch
|
blob
|
history
diff --git
a/src/ajax.js
b/src/ajax.js
index
bf2744b
..
0f799fc
100644
(file)
--- a/
src/ajax.js
+++ b/
src/ajax.js
@@
-287,7
+287,7
@@
jQuery.extend({
// Set the Accepts header for the server, depending on the dataType
xml.setRequestHeader("Accept", s.dataType && s.accepts[ s.dataType ] ?
s.accepts[ s.dataType ] + ", */*" :
- s.accepts.default );
+ s.accepts._default );
} catch(e){}
// Allow custom headers/mimetypes