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

fixes: popovers might clear page content #8876

Merged
merged 1 commit into from Oct 1, 2015
Merged

Conversation

sgiehl
Copy link
Member

@sgiehl sgiehl commented Sep 30, 2015

Currently the popovers in administration of Piwik (e.g. plugin popover in marketplace) might clear the original page content when opening or closing it.
That is due to a "fix" for angularjs (See https://github.com/piwik/piwik/blob/master/plugins/CoreHome/angularjs/history/history.service.js#L91-L95)
Opening and closing a popover triggers a hash change, which clears the content to replace it with new one if the hash is present.
With this small change the param added to fix angularjs is ignored for loading pages.

@sgiehl sgiehl added Needs Review PRs that need a code review Regression Indicates a feature used to work in a certain way but it no longer does even though it should. labels Sep 30, 2015
@sgiehl sgiehl added this to the 2.15.0 milestone Sep 30, 2015
@sgiehl sgiehl added the not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. label Sep 30, 2015
mattab pushed a commit that referenced this pull request Oct 1, 2015
fixes: popovers might clear page content
@mattab mattab merged commit 0bc2ca8 into master Oct 1, 2015
@mattab mattab deleted the location_popover_fix branch October 2, 2015 04:14
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. Regression Indicates a feature used to work in a certain way but it no longer does even though it should.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants