Skip to content
Permalink
Browse files

Merge pull request #497 from dmethvin/fix-7788-ui-autocomplete

Autocomplete tests: Fix #7788, incorrect selector in autoFocus test.
  • Loading branch information...
scottgonzalez committed Oct 13, 2011
2 parents 9a274c0 + 9b3ada4 commit ae96ef7754caf05de7025e0ffe24f5af652747b5
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/unit/autocomplete/autocomplete_options.js
@@ -34,7 +34,7 @@ function autoFocusTest( afValue, focusedLength ) {
delay: 0,
source: data,
open: function( event, ui ) {
equal( element.autocomplete( "widget" ).children( ".ui-menu-item:first .ui-state-focus" ).length,
equal( element.autocomplete( "widget" ).children( ".ui-menu-item:first" ).find( ".ui-state-focus" ).length,
focusedLength, "first item is " + (afValue ? "" : "not") + " auto focused" );
start();
}

0 comments on commit ae96ef7

Please sign in to comment.
You can’t perform that action at this time.