Side navigation
#12255 closed bug (worksforme)
Opened August 10, 2012 08:53PM UTC
Closed August 11, 2012 01:39AM UTC
Last modified August 13, 2012 04:50PM UTC
"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!
Attachments (0)
Change History (4)
Changed August 10, 2012 08:55PM UTC by comment:1
| owner: | → anonymous |
|---|---|
| status: | new → pending |
Changed August 11, 2012 12:57AM UTC by comment:2
| status: | pending → new |
|---|
Changed August 11, 2012 01:39AM UTC by comment:3
| 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.
Changed August 13, 2012 04:50PM UTC by comment:4
Or, alternatively, use done and fail that are still returning the current object.
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!