#5172 closed feature (wontfix)
Allow cancelling of all autocomplete events
Reported by: | Rwhitbeck | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | ui.autocomplete | Version: | 1.8rc1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I would like to be able to cancel the close event, for weird client-requirement reasons.
It seems reasonable to make all the events cancelable. In this case of close, the code change is simple:
From:
this._trigger( "close", event ); this.menu.element.remove(); this.menu = null;
To:
if ( false !== self._trigger( "close", event ) ) {
this.menu.element.remove(); this.menu = null;
}
see forum: http://forum.jquery.com/topic/allow-cancelling-of-all-autocomplete-events
Change History (3)
comment:1 Changed 13 years ago by
Version: | 1.7.2 → 1.8rc1 |
---|
comment:2 Changed 13 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
This requires adding a beforeclose event.