diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-08-27 08:05:27 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-08-27 08:05:27 -0400 |
commit | 93556a8e18be972d487498a42b3916f8fff9e995 (patch) | |
tree | 4ce5cd4ea29dc214aea88cc44343a212e8ea2f55 /ui/jquery.ui.autocomplete.js | |
parent | b22e3c36f27a9138ba2d1a665bdeded0b877ff6b (diff) | |
download | jquery-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.js | 2 |
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 |