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

Thanks tyron.
This commit is contained in:
Scott González 2011-04-04 08:54:09 -04:00
parent 98c53d8432
commit 401c91418c

View File

@ -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();