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:54:09 -0400 |
commit | 401c91418ce855b706756bdf804346d3a0d95132 (patch) | |
tree | 2438548d89463d6617400030cae06ec0301b45ea /demos/autocomplete | |
parent | 98c53d8432990f2c674e3a1274141b64a87d8ee9 (diff) | |
download | jquery-ui-401c91418ce855b706756bdf804346d3a0d95132.tar.gz jquery-ui-401c91418ce855b706756bdf804346d3a0d95132.zip |
Autocomplete (combobox demo): Blur the button on click to avoid a bug.
Thanks tyron.
Diffstat (limited to 'demos/autocomplete')
-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 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(); |