Opened 10 years ago
Closed 10 years ago
#13663 closed bug (notabug)
In the calls order "deferred.then(...).fail(...)" the fail callback doesn't receive arguments
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.9.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
In the calls chain "deferred.then(...).fail(...)" the fail callback doesn't receive arguments, but the chain "deferred.fail(...).then(...)" works correct.
The same with "done" and "progress" methods.
Note: See
TracTickets for help on using
tickets.
The
.then()
creates a *new* promise, I suspect that is what you are trying to describe but there wasn't a test case. This is documented, http://api.jquery.com/deferred.then/ so please followup questions to a forum.