Permalink
Browse files

Autocomplete: Update selectedItem in the asynchronous focus handling …

…for IE. Fixes #6709 - Autocomplete: Null ui.item on change event in IE8.
  • Loading branch information...
1 parent c667cff commit eac910f3157af42c7fcd2230aaff8508974ecc9a @scottgonzalez scottgonzalez committed Dec 1, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 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);
}

0 comments on commit eac910f

Please sign in to comment.