aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.autocomplete.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-08-27 08:05:27 -0400
committerScott González <scott.gonzalez@gmail.com>2012-08-27 08:05:27 -0400
commit93556a8e18be972d487498a42b3916f8fff9e995 (patch)
tree4ce5cd4ea29dc214aea88cc44343a212e8ea2f55 /ui/jquery.ui.autocomplete.js
parentb22e3c36f27a9138ba2d1a665bdeded0b877ff6b (diff)
downloadjquery-ui-93556a8e18be972d487498a42b3916f8fff9e995.tar.gz
jquery-ui-93556a8e18be972d487498a42b3916f8fff9e995.zip
Menu: If the active element no longer exists after a refresh, blur the menu.
Diffstat (limited to 'ui/jquery.ui.autocomplete.js')
-rw-r--r--ui/jquery.ui.autocomplete.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/ui/jquery.ui.autocomplete.js b/ui/jquery.ui.autocomplete.js
index da10d82c5..80778f908 100644
--- a/ui/jquery.ui.autocomplete.js
+++ b/ui/jquery.ui.autocomplete.js
@@ -482,8 +482,6 @@ $.widget( "ui.autocomplete", {
.empty()
.zIndex( this.element.zIndex() + 1 );
this._renderMenu( ul, items );
- // TODO refresh should check if the active item is still in the dom, removing the need for a manual blur
- this.menu.blur();
this.menu.refresh();
// size and position menu