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

Fix deselect publishing an event, even if it wasn't previously selected. #889

Closed
wants to merge 1 commit into from

Conversation

treasonx
Copy link
Contributor

@treasonx treasonx commented Apr 4, 2014

Check previous value before enqueuing a deselect event.
Add tests for select and deselect events.

Check previous value before enqueuing a deselect event.
Add tests for select and deselect events.
@treasonx treasonx changed the title Fix deselect publishing an event event if it wasn't previously selected. Fix deselect publishing an event, even if it wasn't previously selected. Apr 4, 2014
@kfranqueiro
Copy link
Member

Upon digging into the how and why of this fix, I discovered a simpler one. I also moved the new unit tests to mixins/Selection instead of plugins/selector. See 90e5685. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants