Bug Tracker

Opened 10 years ago

Closed 10 years ago

#4820 closed bug (invalid)

fallback xhr transport missing in 1.3.2

Reported by: erob Owned by:
Priority: minor Milestone: 1.4
Component: ajax Version: 1.3.2
Keywords: xhr Cc: erob
Blocked by: Blocking:

Description

In case upgrading from jQuery 1.2.6 to 1.3.X, the current behavior of the $.ajax method seems to require an implicit xhr param to be passed in.

This will break if the user has not set this param explicitely, so a fallback method can be used as an alternative.

Attachments (1)

default-xhr-transport.patch (598 bytes) - added by erob 10 years ago.
Proposed patch to add a fallback xhr method

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by erob

Attachment: default-xhr-transport.patch added

Proposed patch to add a fallback xhr method

comment:1 Changed 10 years ago by flesler

Cc: erob added
Resolution: invalid
Status: newclosed

We do provide a default implementation (obviously!). The settings passed to $.ajax are extended with $.ajaxSettings which contains the default implementation.

Note: See TracTickets for help on using tickets.