Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove redundant loadInitialSites call in siteselector angular directive/controller. #8804

Merged
merged 1 commit into from Sep 21, 2015

Conversation

diosmosis
Copy link
Member

As title. Fixes #8780.

The method is called in both the directive & controller. On the second call, the requests in the first are aborted, so removing the extra call removes the extra requests.

@diosmosis diosmosis added the not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. label Sep 16, 2015
@diosmosis diosmosis added this to the 2.15.0 milestone Sep 16, 2015
@diosmosis diosmosis added the Needs Review PRs that need a code review label Sep 16, 2015
tsteur added a commit that referenced this pull request Sep 21, 2015
Remove redundant loadInitialSites call in siteselector angular directive/controller.
@tsteur tsteur merged commit 9f572a3 into master Sep 21, 2015
@tsteur tsteur deleted the 8780_remove_xhr_request branch September 21, 2015 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants