]> source.dussan.org Git - jquery-ui.git/commitdiff
Fixed #5305 - Autocomplete: open event should trigger after the menu is opened since...
authorRichard Worth <rdworth@gmail.com>
Mon, 8 Mar 2010 16:35:24 +0000 (16:35 +0000)
committerRichard Worth <rdworth@gmail.com>
Mon, 8 Mar 2010 16:35:24 +0000 (16:35 +0000)
ui/jquery.ui.autocomplete.js

index 3aa5d42dcaca788196afd4c0594767d32d2440ae..226b2b1b4f39a2b79d3d1bc21faf58cd98667c42 100644 (file)
@@ -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();
                }