diff options
author | Scott González <scott.gonzalez@gmail.com> | 2010-12-01 11:51:16 -0500 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2010-12-01 11:51:16 -0500 |
commit | eac910f3157af42c7fcd2230aaff8508974ecc9a (patch) | |
tree | bfd9d54ad2b61e658cf6c8494e24e1ccc5e36542 /ui | |
parent | c667cff22d8ef352b81338e2834379678fb2dd27 (diff) | |
download | jquery-ui-eac910f3157af42c7fcd2230aaff8508974ecc9a.tar.gz jquery-ui-eac910f3157af42c7fcd2230aaff8508974ecc9a.zip |
Autocomplete: Update selectedItem in the asynchronous focus handling for IE. Fixes #6709 - Autocomplete: Null ui.item on change event in IE8.
Diffstat (limited to 'ui')
-rw-r--r-- | ui/jquery.ui.autocomplete.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/jquery.ui.autocomplete.js b/ui/jquery.ui.autocomplete.js index 6aefe87d6..95e221035 100644 --- a/ui/jquery.ui.autocomplete.js +++ b/ui/jquery.ui.autocomplete.js @@ -177,6 +177,7 @@ $.widget( "ui.autocomplete", { // term synchronously and asynchronously :-( setTimeout(function() { self.previous = previous; + self.selectedItem = item; }, 1); } |