From caa1786c618e3e1bb2e6c2c32b7722ae387094d9 Mon Sep 17 00:00:00 2001 From: Richard Worth Date: Mon, 8 Mar 2010 16:35:24 +0000 Subject: [PATCH] Fixed #5305 - Autocomplete: open event should trigger after the menu is opened since the name is not 'beforeopen' --- ui/jquery.ui.autocomplete.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/jquery.ui.autocomplete.js b/ui/jquery.ui.autocomplete.js index 3aa5d42dc..226b2b1b4 100644 --- a/ui/jquery.ui.autocomplete.js +++ b/ui/jquery.ui.autocomplete.js @@ -191,8 +191,8 @@ $.widget( "ui.autocomplete", { _response: function( content ) { if ( content.length ) { content = this._normalize( content ); - this._trigger( "open" ); this._suggest( content ); + this._trigger( "open" ); } else { this.close(); } -- 2.39.5