]> source.dussan.org Git - jquery.git/commitdiff
And the rest of the _default change.
authorJohn Resig <jeresig@gmail.com>
Mon, 14 Jan 2008 19:37:31 +0000 (19:37 +0000)
committerJohn Resig <jeresig@gmail.com>
Mon, 14 Jan 2008 19:37:31 +0000 (19:37 +0000)
src/ajax.js

index bf2744b6b31e1ab4ffe1b6ca13331164a2a2d33e..0f799fcc8d230e44fbb01780f7c2442a9c592809 100644 (file)
@@ -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