aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.autocomplete.js
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2010-02-10 15:08:27 +0000
committerJörn Zaefferer <joern.zaefferer@gmail.com>2010-02-10 15:08:27 +0000
commit4cea3290a1ca7e784e5bd13be0cf10122eab2aee (patch)
treec1b912df0a8abbba692d55c4f4de9c1544f5037d /ui/jquery.ui.autocomplete.js
parent3875cd33b739b9908fe51eaa4f0b4b939e700e10 (diff)
downloadjquery-ui-4cea3290a1ca7e784e5bd13be0cf10122eab2aee.tar.gz
jquery-ui-4cea3290a1ca7e784e5bd13be0cf10122eab2aee.zip
Autocomplete: Fix for #5154
Diffstat (limited to 'ui/jquery.ui.autocomplete.js')
-rw-r--r--ui/jquery.ui.autocomplete.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/jquery.ui.autocomplete.js b/ui/jquery.ui.autocomplete.js
index 45abb17b9..13254ed02 100644
--- a/ui/jquery.ui.autocomplete.js
+++ b/ui/jquery.ui.autocomplete.js
@@ -240,6 +240,7 @@ $.widget( "ui.autocomplete", {
$.each( items, function( index, item ) {
self._renderItem( ul, item );
});
+ // TODO refresh should check if the active item is still in the dom, removing the need for a manual deactivate
this.menu.deactivate();
this.menu.refresh();
this.menu.element.show();