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 bf2744b..0f799fc 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