Modal: pass the closedDeferred promise to removeAfterAnimate function#5322
Modal: pass the closedDeferred promise to removeAfterAnimate function#5322javix wants to merge 1 commit intoangular-ui:masterfrom
Conversation
|
Sure, let me grab my crystal ball and figure out what is the purpose of this PR. |
|
Hallo, The promise closedDeferred will be resolved only in the function afterAnimating() in modal.js line 369.
and the line closedDeferred.resolve(); will not be called. With my changes, I get
|
|
I see, my friend @wesleycho is looking into it. Thanks. |
|
@armagedon looks like somehow the tests were flawed for this - I fixed them in #5326. |
If I close the modal the closed promise will not be called.