Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#5806 closed bug (worksforme)

ui.autocomplete: open event doesn't pass UI param

Reported by: jforrester Owned by:
Priority: minor Milestone:
Component: ui.autocomplete Version: 1.8.2
Keywords: autocomplete open Cc:
Blocked by: Blocking:

Description

documentation says: $( ".selector" ).autocomplete({

open: function(event, ui) { ... }

});

but, the code says: this._trigger( "open" );

the ui param is not passed

Change History (3)

comment:1 Changed 9 years ago by Scott González

Resolution: worksforme
Status: newclosed

There is an empty ui object. All events get passed a ui object, sometimes it doesn't contain any information because there is no relevant data that needs to be passed.

comment:2 Changed 8 years ago by akcontreras

Hmm... Someone may consider this useful... For example: Modify o get the items of menu. this._trigger("open",null,this) Is so hard?

Last edited 8 years ago by akcontreras (previous) (diff)

comment:3 Changed 7 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.