#12255 closed bug (worksforme)
"deferred.then()" doesn't return object has resolve
Reported by: | anonymous | Owned by: | anonymous |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.8.0 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hello. "deferred.then()" doesn't return object has method "resolve" from version 1.8.0. It is too difficult for me to debug the source. Could you check it out? Have a nice day!
Change History (4)
comment:1 Changed 10 years ago by
Owner: | set to anonymous |
---|---|
Status: | new → pending |
comment:2 Changed 10 years ago by
Status: | pending → new |
---|
comment:3 Changed 10 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
In jQuery 1.8, .then()
returns a new promise and not the original Deferred
.
http://bugs.jquery.com/ticket/11010
You should store the original Deferred
and resolve that.
comment:4 Changed 10 years ago by
Or, alternatively, use done
and fail
that are still returning the current object.
Note: See
TracTickets for help on using
tickets.
Hello.
deferred.then()
seems to work 1.8.0. It is too difficult for me to create a test case. Could you make one on jsfiddle.net? Have a nice day!