From 4cea3290a1ca7e784e5bd13be0cf10122eab2aee Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rn=20Zaefferer?= Date: Wed, 10 Feb 2010 15:08:27 +0000 Subject: [PATCH] Autocomplete: Fix for #5154 --- ui/jquery.ui.autocomplete.js | 1 + 1 file changed, 1 insertion(+) 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(); -- 2.39.5