From 401c91418ce855b706756bdf804346d3a0d95132 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Mon, 4 Apr 2011 08:54:09 -0400 Subject: [PATCH] Autocomplete (combobox demo): Blur the button on click to avoid a bug. Thanks tyron. --- demos/autocomplete/combobox.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/demos/autocomplete/combobox.html b/demos/autocomplete/combobox.html index 56e4aa021..ded809e1e 100644 --- a/demos/autocomplete/combobox.html +++ b/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(); -- 2.39.5