Ticket #3283 (closed enhancement: fixed)

Opened 6 years ago

Last modified 6 years ago

a way to cancel a sort in sortable

Reported by: gpbmike Owned by: paul
Priority: minor Milestone: 1.7
Component: ui.sortable Version: 1.6b
Keywords: Cc:
Blocking: Blocked by:

Description

I'd like to be able to validate where the user is trying to drop the item and cancel the sort if something is amiss.

beforeStop seems like it would be the ideal method for this.

Change History

comment:1 Changed 6 years ago by paul

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone changed from TBD to 1.6

Implemented in r860 (use ui.cancel() in the callbacks to cancel a sortable attempt).

Note: See TracTickets for help on using tickets.