Skip to content

Conversation

tjvantoll
Copy link
Member

... #9213: Button: timeout in formResetHandler causing refresh to be called on non-widgets

…xed #9213: Button: timeout in formResetHandler causing refresh to be called on non-widgets
button = form.find( "button" ).button(),
checkbox = form.find( "input[type=checkbox]" ).button();

checkbox.prop( "checked", false ).button( "refresh" );
Copy link
Member

Choose a reason for hiding this comment

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

Add an assertion that it's not active after this refresh, before the reset.

@scottgonzalez
Copy link
Member

Fix looks good. The test could use an extra assertion to verify that a change is actually occurring.

@tjvantoll
Copy link
Member Author

Added assertion. Landed in 2de31fd.

@tjvantoll tjvantoll closed this Apr 10, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants