Opened 8 years ago

Closed 8 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.

Attachments (1)

draggable_sortable.test.html (1.7 KB) - added by Marc Diethelm 8 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 in reply to: ↑ description ; follow-up: Changed 8 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

Changed 8 years ago by Marc Diethelm


comment:2 Changed 8 years ago by scottgonzalez

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

comment:3 in reply to: ↑ 1 Changed 8 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 8 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.