Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

fix($http): pass event object to eventHandlers/uploadEventHandlers #14438

Closed

Conversation

gkalpak
Copy link
Member

@gkalpak gkalpak commented Apr 14, 2016

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Bug fix.

What is the current behavior? (You can also link to an open issue here)
The event object is not passed to the [upload]event handlers. Under cirtain circumstances, the $rootScope is passed as argument.
See #14436.

What is the new behavior (if this is a feature change)?
The event object is passed to the [upload]event handlers.

Does this PR introduce a breaking change?
(Depends on your point of view 😛)

Please check if the PR fulfills these requirements

Other information:

Fixes #14436

@petebacondarwin
Copy link
Contributor

LGTM

@petebacondarwin
Copy link
Contributor

Closed via 25d4e5c and ddac3b3

@gkalpak gkalpak deleted the fix-http-pass-event-to-handlers branch April 15, 2016 13:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

$http eventHandlers return $rootScope rather than actual XHR event 1.5.4
3 participants