Skip to main content

Search and Top Navigation

#3658 closed bug (fixed)

Opened December 11, 2008 04:43PM UTC

Closed January 08, 2009 03:50PM UTC

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)
Change History (4)

Changed December 15, 2008 05:03PM UTC by Marc Diethelm comment:1

Additional remarks:

For this to happen

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

Changed January 02, 2009 02:18PM UTC by scottgonzalez comment:2

milestone: TBD1.6
priority: majorcritical

Changed January 02, 2009 10:13PM UTC by Marc Diethelm comment:3

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

Changed January 08, 2009 03:50PM UTC by paul comment:4

resolution: → fixed
status: newclosed

Fixed in r1559.