When using the sortable.js "draggable" option to exclude HTML nodes, the model list is re-ordered incorrectly unless the oldDraggableIndex and newDraggableIndex fields of the event are used to update the store.
oldIndex and oldDraggableIndex match when the "draggable" option is not used, so I believe this fix works for both cases.
When using the sortable.js "draggable" option to exclude HTML nodes, the model list is re-ordered incorrectly unless the oldDraggableIndex and newDraggableIndex fields of the event are used to update the store.
oldIndex and oldDraggableIndex match when the "draggable" option is not used, so I believe this fix works for both cases.