diff options
author | Michał Gołębiowski <m.goleb@gmail.com> | 2016-06-08 14:22:13 +0200 |
---|---|---|
committer | Michał Gołębiowski <m.goleb@gmail.com> | 2016-06-09 14:53:34 +0200 |
commit | d5dae259eb52a838f94703d51999f63deec19bfd (patch) | |
tree | 396cb13db52315e6818e787166c42ed49270b9d2 /src | |
parent | e06fda69f00082b44fd39ce8e851f72d29999011 (diff) | |
download | jquery-d5dae259eb52a838f94703d51999f63deec19bfd.tar.gz jquery-d5dae259eb52a838f94703d51999f63deec19bfd.zip |
Deferred: Propagate progress correctly from unwrapped promises
Progress parameters are now correctly propagated from a deferred to which
another deferred resolved unwrapping it.
Thanks to @gibson042 for the report and a clear description of the problem
and the needed fix.
Fixes gh-3062
Closes gh-3150
Diffstat (limited to 'src')
-rw-r--r-- | src/deferred.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/deferred.js b/src/deferred.js index 73b2f9ef2..a7938025c 100644 --- a/src/deferred.js +++ b/src/deferred.js @@ -162,7 +162,7 @@ jQuery.extend( { resolve( maxDepth, deferred, Identity, special ), resolve( maxDepth, deferred, Thrower, special ), resolve( maxDepth, deferred, Identity, - deferred.notify ) + deferred.notifyWith ) ); } |