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 duplication onchange event for radio elements #8248

Merged
merged 1 commit into from Jul 12, 2015
Merged

Fixes duplication onchange event for radio elements #8248

merged 1 commit into from Jul 12, 2015

Conversation

barbushin
Copy link
Contributor

The problem was in change event that was triggered twice: 1) when one radio is unchecked 2) when another radio becomes checked. I've made patch ignoring 1) event, because in that case $('input:checked').val() is undefined.

Fixes #8245

@barbushin barbushin added the Needs Review PRs that need a code review label Jun 30, 2015
@mattab mattab added this to the 2.14.1 milestone Jul 6, 2015
@mattab
Copy link
Member

mattab commented Jul 12, 2015

I couldn't reproduce #8245 but since @barbushin @tsteur both could, I assume it's valid and merging it 👍

mattab pushed a commit that referenced this pull request Jul 12, 2015
Fixes duplication `onchange` event for `radio` elements
@mattab mattab merged commit d6cb585 into matomo-org:master Jul 12, 2015
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants