app/assets/javascripts/para/inputs/multi-select-input.coffee in para-0.8.7 vs app/assets/javascripts/para/inputs/multi-select-input.coffee in para-0.8.8
- old
+ new
@@ -120,13 +120,12 @@
@$selectedItems.sortable('destroy')
@$selectedItems.sortable
handle: '.order-anchor'
- forcePlaceholderSize: true
- placeholder: "<tr><td colspan='#{ columnsCount }'></td></tr>"
+ animation: 150
- @$selectedItems.on('sortupdate', @selectedItemsSorted)
+ @$selectedItems.on('sort', @selectedItemsSorted)
selectedItemsSorted: =>
indices = {}
indices[$(el).data('selected-item-id')] = index for el, index in @$selectedItems.find('[data-selected-item-id]')