Skip to content

Commit

Permalink
Autocomplete: Update selectedItem in the asynchronous focus handling …
Browse files Browse the repository at this point in the history
…for IE. Fixes #6709 - Autocomplete: Null ui.item on change event in IE8.
  • Loading branch information
scottgonzalez committed Dec 1, 2010
1 parent c667cff commit eac910f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/jquery.ui.autocomplete.js
Expand Up @@ -177,6 +177,7 @@ $.widget( "ui.autocomplete", {
// term synchronously and asynchronously :-(
setTimeout(function() {
self.previous = previous;
self.selectedItem = item;
}, 1);
}

Expand Down

0 comments on commit eac910f

Please sign in to comment.