diff options
author | Scott González <scott.gonzalez@gmail.com> | 2010-10-26 09:05:38 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2010-10-26 09:05:38 -0400 |
commit | f4d8ec9159b84718051b257715b97d22fba936e7 (patch) | |
tree | d146308a0ac4408f3e9fc05d0f125d92af228d4c /ui/jquery.ui.autocomplete.js | |
parent | 9ead629c2cdd2689028f3a7ebb258aa41ab47afb (diff) | |
download | jquery-ui-f4d8ec9159b84718051b257715b97d22fba936e7.tar.gz jquery-ui-f4d8ec9159b84718051b257715b97d22fba936e7.zip |
Autocomplete: Trigger close after hiding the menu. Fixes #6227 - Autocomplete: Don't trigger close event until after the menu is hidden.
Diffstat (limited to 'ui/jquery.ui.autocomplete.js')
-rw-r--r-- | ui/jquery.ui.autocomplete.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.autocomplete.js b/ui/jquery.ui.autocomplete.js index 0ada32f02..1e07b3c16 100644 --- a/ui/jquery.ui.autocomplete.js +++ b/ui/jquery.ui.autocomplete.js @@ -295,9 +295,9 @@ $.widget( "ui.autocomplete", { close: function( event ) { clearTimeout( this.closing ); if ( this.menu.element.is(":visible") ) { - this._trigger( "close", event ); this.menu.element.hide(); this.menu.deactivate(); + this._trigger( "close", event ); } }, |