Skip to content

Instantly share code, notes, and snippets.

@tjvantoll
Created August 2, 2013 20:38
Show Gist options
  • Save tjvantoll/6143279 to your computer and use it in GitHub Desktop.
Save tjvantoll/6143279 to your computer and use it in GitHub Desktop.
Test for #9469.
test( "#9469: Stopping propagation in a select event should not suppress subsequent select events.", function() {
expect( 1 );
var element = $( "#menu1" ).menu({
select: function( event, ui ) {
log();
event.stopPropagation();
}
});
click( element, "1" );
click( element, "2" );
equal( logOutput(), "1,2", "Both select events were not triggered." );
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment