Modify ↓
Ticket #4384 (closed bug: duplicate)
jQuery.get doesn't shift all arguments
| Reported by: | rogpeppe | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.4 |
| Component: | ajax | Version: | 1.3.2 |
| Keywords: | Cc: | rogpeppe@… | |
| Blocking: | Blocked by: |
Description
by inspection in the source code, if the data argument is omitted, then the type parameter will be overwritten. (also "ommited" is not spelled that way!)
Attachments
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.


jQuery.post is also affected. Attached a patch which fixes both functions (but not the typo), with a testcase.