#970 closed bug (fixed)
custom timeout does not set error message when timeout occurs
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.1.4 |
Component: | ajax | Version: | 1.1.3 |
Keywords: | timeout | Cc: | |
Blocked by: | Blocking: |
Description
When using the custom 'timeout' settings for an ajax request as in $.ajax({timeout:1000}) there is no exception sent in error() handler (e==null). The message sent in error (second parameter) is just a flat "error" with no relevance to what just hapened (timeout).
Attachments (1)
Change History (5)
comment:1 Changed 16 years ago by
Milestone: | → 1.1.3 |
---|---|
need: | → Test Case |
Version: | → 1.1.2 |
comment:2 Changed 16 years ago by
need: | Test Case → Patch |
---|
Changed 16 years ago by
Attachment: | ajax-status-timeout.patch added |
---|
The second parameter of ajax error callback is "timeout" when error is due to a timeout
comment:3 Changed 16 years ago by
Milestone: | 1.1.3 → 1.1.4 |
---|---|
Priority: | minor → major |
Resolution: | → fixed |
Status: | new → closed |
Version: | 1.1.2 → 1.1.3 |
Fixed in SVN rev [2418].
Note: See
TracTickets for help on using
tickets.
Added test in [1584].