Opened 14 years ago
Closed 13 years ago
#4355 closed bug (worksforme)
Ajax.load ignores strings as data parameter for POST requests
Reported by: | the-architect | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.4 |
Component: | ajax | Version: | 1.3.2 |
Keywords: | ajax, load, get, post | Cc: | |
Blocked by: | Blocking: |
Description
Other than stated in the documentation load does not accept strings as data parameter and will perform a GET request.
Attachments (1)
Change History (3)
Changed 14 years ago by
Attachment: | ajax_patch.diff added |
---|
comment:2 Changed 13 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
The docs for load say:
The POST method is used if data is provided as an object; otherwise, GET is assumed.
Since it's documented to work that way, at least since the new docs site went live in January, it should probably be left with the current behavior.
Note: See
TracTickets for help on using
tickets.
patch for ajax.js