Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Selectmenu: Delay trigger until after the list closes #7197

Closed
wants to merge 3 commits into from

Conversation

gabrielschulhof
Copy link

Fixes gh-7076

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 4116f85 on 7076-delay-value-change-trigger into 00e80c9 on master.

openevent: openEvent
},
function() {
$.event.trigger = replacementTrigger;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be done as part of setup and teardown

@coveralls
Copy link

Coverage Status

Coverage increased (+0.12%) when pulling e758e34 on 7076-delay-value-change-trigger into 7b818d8 on master.

// trigger change if value changed
if ( self.isMultiple || oldIndex !== newIndex ) {
self.select.trigger( "change" );
// if it's not a multiple select, trigger change after it has finished closing
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Capitalize first word of comments

@coveralls
Copy link

Coverage Status

Coverage increased (+0.35%) when pulling f2f89c3 on 7076-delay-value-change-trigger into 7b818d8 on master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.11%) when pulling 9c2ea16 on 7076-delay-value-change-trigger into 44f503d on master.

@arschmitz
Copy link
Contributor

👍

gabrielschulhof pushed a commit that referenced this pull request Jun 6, 2014
@gabrielschulhof gabrielschulhof deleted the 7076-delay-value-change-trigger branch June 6, 2014 05:16
agcolom pushed a commit to agcolom/jquery-mobile that referenced this pull request Nov 26, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Closing dialog on selectmenu change value event
3 participants