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

The menu doesn't intercept middle mouse clicks anymore #7489

Merged
merged 2 commits into from Mar 29, 2015

Conversation

mnapoli
Copy link
Contributor

@mnapoli mnapoli commented Mar 19, 2015

This PR fixes #7466: re-applies the changes of #7478 (which were reverted in master) by reverting the revert (oh yeah) and fixing the problem in the original fix (oh yeah).

The first PR contained a bug: on load a click is simulated by menu.js and that results in an event object that didn't carry the information of "which button was clicked". Silly me did ignore clicks that are not on the left button, so if no button was clicked then the ajax handling was ignored.

Let's put this in 2.13.

…reverting the revert!

Revert "Revert "The menu does not intercept middle mouse clicks anymore""

This reverts commit c86d0ba.
@mnapoli mnapoli added c: Usability For issues that let users achieve a defined goal more effectively or efficiently. not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. labels Mar 19, 2015
@mnapoli mnapoli added this to the Piwik 2.13.0 milestone Mar 19, 2015
mnapoli added a commit that referenced this pull request Mar 29, 2015
The menu doesn't intercept middle mouse clicks anymore
@mnapoli mnapoli merged commit 7e5bda9 into master Mar 29, 2015
@mnapoli mnapoli deleted the menu-middle-click branch March 29, 2015 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Usability For issues that let users achieve a defined goal more effectively or efficiently. 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

1 participant