diff options
author | Scott González <scott.gonzalez@gmail.com> | 2011-04-04 08:54:09 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2011-04-04 08:55:15 -0400 |
commit | 5b45dbebe10abb485feed518a03b89559e8ca42b (patch) | |
tree | 58f6a2d1cd6eb73150c548fb281ee99f46dd8af8 /demos | |
parent | a8fc3da62885c2d7c692e24f8416e320886e1e7b (diff) | |
download | jquery-ui-5b45dbebe10abb485feed518a03b89559e8ca42b.tar.gz jquery-ui-5b45dbebe10abb485feed518a03b89559e8ca42b.zip |
Autocomplete (combobox demo): Blur the button on click to avoid a bug.
Thanks tyron.
(cherry picked from commit 401c91418ce855b706756bdf804346d3a0d95132)
Diffstat (limited to 'demos')
-rw-r--r-- | demos/autocomplete/combobox.html | 3 |
1 files changed, 3 insertions, 0 deletions
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(); |