Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
fcee9323
Commit
fcee9323
authored
Aug 05, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disabled sorting in lists
parent
26157394
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
app/assets/javascripts/boards/components/board_list.js.es6
app/assets/javascripts/boards/components/board_list.js.es6
+1
-3
No files found.
app/assets/javascripts/boards/components/board_list.js.es6
View file @
fcee9323
...
@@ -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);
}
}
});
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment