]> source.dussan.org Git - jquery-ui.git/commitdiff
Autocomplete: Fix for #5154
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Wed, 10 Feb 2010 15:08:27 +0000 (15:08 +0000)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Wed, 10 Feb 2010 15:08:27 +0000 (15:08 +0000)
ui/jquery.ui.autocomplete.js

index 45abb17b9152ef33f946f473f13bb995b53bf68b..13254ed020ab9169bd3e06780bdfc54d4a1a8cbc 100644 (file)
@@ -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();