Modify ↓
Ticket #1744 (closed bug: worksforme)
$.ajax success callback doesn't receive json data
| Reported by: | carl | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.2.2 |
| Component: | ajax | Version: | 1.2.1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
when using $.ajax({dataType: "json", ...}) the ajax.onreadystatechange function in jquery-1.1.3.1 used to call s.success( data, status ) but in 1.2.1 it just calls s.success().
Attachments
Change History
comment:1 Changed 6 years ago by Bradley
- Priority changed from blocker to major
- Component changed from core to ajax
Changed 6 years ago by davidserduke
-
attachment
jquery_test.html
added
test case (based on description)
comment:2 Changed 6 years ago by davidserduke
- need changed from Review to Test Case
- Status changed from new to closed
- Resolution set to worksforme
Couldn't reproduce this bug with the above test case I built based on the description in either 1.2.1 or today's SVN. Nor could I see a place in 1.2.1 where s.success() was called without parameters.
Please reopen if you find a test case that fails.
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.
