Opened 7 years ago

Closed 7 years ago

#3658 closed bug (fixed)

update is called before receive (callbacks)

Reported by: Marc Diethelm Owned by:
Priority: critical Milestone: 1.7
Component: ui.sortable Version: 1.6rc2
Keywords: update, receive, callback, sortable Cc:
Blocked by: Blocking:


When dropping an item from a draggable onto a sortable I expect the 'receive' callback to be called before the 'update' callback. However the opposite happens. This means 'update' misses the new sortable item.

Change History (4)

comment:1 in reply to: ↑ description ; follow-up: Changed 7 years ago by Marc Diethelm

Additional remarks: For this to happen

  • the sortable must already contain items
  • the order must be changed by the dropped item

comment:2 Changed 7 years ago by scottgonzalez

  • Milestone changed from TBD to 1.6
  • Priority changed from major to critical

comment:3 in reply to: ↑ 1 Changed 7 years ago by Marc Diethelm

This does NOT happen if revert is explicitly set to true (overriding the default which is also true).

comment:4 Changed 7 years ago by paul

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r1559.

Note: See TracTickets for help on using tickets.