From 5b45dbebe10abb485feed518a03b89559e8ca42b Mon Sep 17 00:00:00 2001 From: Scott González Date: Mon, 4 Apr 2011 08:54:09 -0400 Subject: Autocomplete (combobox demo): Blur the button on click to avoid a bug. Thanks tyron. (cherry picked from commit 401c91418ce855b706756bdf804346d3a0d95132) --- demos/autocomplete/combobox.html | 3 +++ 1 file changed, 3 insertions(+) (limited to 'demos') diff --git a/demos/autocomplete/combobox.html b/demos/autocomplete/combobox.html index e4f7ca06f..5bef5b1af 100644 --- a/demos/autocomplete/combobox.html +++ b/demos/autocomplete/combobox.html @@ -101,6 +101,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(); -- cgit v1.2.3