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

ajax_modal: Combine trigger and preserve selectors #775

Merged
merged 2 commits into from
Feb 12, 2014

Conversation

jrochkind
Copy link
Member

...in one event handler registration, so if something matches both
trigger and preserve selectors, it still only gets one event handler
call, not two. Fixes #772

Needs to be backported to a 5.0.2 release as a bugfix.

...in one event handler registration, so if something matches both
trigger and preserve selectors, it still only gets one event handler
call, not two. Fixes #772

Needs to be backported to a 5.0.2 release as a bugfix.
@cbeer cbeer added this to the 5.0.2 milestone Feb 12, 2014
@jcoyne
Copy link
Member

jcoyne commented Feb 12, 2014

👍

@jrochkind
Copy link
Member Author

wait, don't merge yet. I realized my fix is not good enough. Bah!

since you can list multiple selectors, they each need to be manually listed as
scoped inside the dialog, just string-prefixing the ancestor wasn't going to
work.

Plus better comment docs.
@jrochkind
Copy link
Member Author

Okay, ready for merging as far as i'm concerned. Both commits fix bugs and should prob be backported.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.24%) when pulling 5c9c939 on ajax_modal_double_submit into 12643e1 on master.

jcoyne added a commit that referenced this pull request Feb 12, 2014
ajax_modal: Combine trigger and preserve selectors
@jcoyne jcoyne merged commit c19d334 into master Feb 12, 2014
@jcoyne jcoyne deleted the ajax_modal_double_submit branch February 12, 2014 22:23
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.

duplicate email
4 participants