Opened 14 years ago

Closed 14 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 14 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 in reply to:  description ; Changed 14 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 14 years ago by Marc Diethelm


comment:2 Changed 14 years ago by Scott González

Milestone: TBD1.6
Priority: majorcritical

comment:3 in reply to:  1 Changed 14 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 14 years ago by paul

Resolution: fixed
Status: newclosed

Fixed in r1559.

Note: See TracTickets for help on using tickets.