Fixed delete if sortable is active.

This commit is contained in:
Martin Edenhofer 2016-03-14 23:18:53 +01:00
parent cceb87bc53
commit ecdca2f202

View file

@ -308,6 +308,8 @@ class App.ControllerTable extends App.Controller
for name, item of @bindCol for name, item of @bindCol
if item.events if item.events
position = 0 position = 0
if @dndCallback
position += 1
if @checkbox if @checkbox
position += 1 position += 1
hit = false hit = false