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
gkalpak wants to merge 1 commit into
angular:masterfrom
gkalpak:fix-http-pass-event-to-handlers
Closed

gkalpak wants to merge 1 commit into
angular:masterfrom
gkalpak:fix-http-pass-event-to-handlers

Conversation

@gkalpak

@gkalpak gkalpak commented Apr 14, 2016

Copy link
Copy Markdown
Member

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
Copy Markdown
Contributor

LGTM

@petebacondarwin

Copy link
Copy Markdown
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