Commit fcee9323 authored by Phil Hughes's avatar Phil Hughes

Disabled sorting in lists

parent 26157394
...@@ -56,6 +56,7 @@ ...@@ -56,6 +56,7 @@
}, },
ready: function () { ready: function () {
this.sortable = Sortable.create(this.$els.list, { this.sortable = Sortable.create(this.$els.list, {
sort: false,
group: 'issues', group: 'issues',
disabled: this.disabled, disabled: this.disabled,
scrollSensitivity: 150, scrollSensitivity: 150,
...@@ -71,9 +72,6 @@ ...@@ -71,9 +72,6 @@
const issueId = parseInt(e.item.getAttribute('data-issue')); const issueId = parseInt(e.item.getAttribute('data-issue'));
BoardsStore.moveCardToList(fromListId, toListId, issueId, e.newIndex); BoardsStore.moveCardToList(fromListId, toListId, issueId, e.newIndex);
},
onUpdate: (e) => {
console.log(e.newIndex, e.oldIndex);
} }
}); });
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment