Skip to content
Permalink
Browse files

Autocomplete (combobox demo): Blur the button on click to avoid a bug.

Thanks tyron.
  • Loading branch information
scottgonzalez committed Apr 4, 2011
1 parent 98c53d8 commit 401c91418ce855b706756bdf804346d3a0d95132
Showing with 3 additions and 0 deletions.
  1. +3 −0 demos/autocomplete/combobox.html
@@ -112,6 +112,9 @@
return;
}
// work around a bug (likely same cause as #5265)
$( this ).blur();
// pass empty string as value to search for, displaying all results
input.autocomplete( "search", "" );
input.focus();

0 comments on commit 401c914

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