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
Boxiang Sun
gitlab-ce
Commits
7e4c70ec
Commit
7e4c70ec
authored
Aug 17, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bug when moving list
parent
5e0b2941
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
app/assets/javascripts/boards/stores/boards_store.js.es6
app/assets/javascripts/boards/stores/boards_store.js.es6
+1
-1
spec/javascripts/boards/mock_data.js.es6
spec/javascripts/boards/mock_data.js.es6
+0
-1
No files found.
app/assets/javascripts/boards/stores/boards_store.js.es6
View file @
7e4c70ec
...
@@ -73,7 +73,7 @@
...
@@ -73,7 +73,7 @@
},
},
moveList (listFrom, orderLists) {
moveList (listFrom, orderLists) {
orderLists.forEach((id, i) => {
orderLists.forEach((id, i) => {
const list = this.findList('id',
id
);
const list = this.findList('id',
parseInt(id)
);
list.position = i;
list.position = i;
});
});
...
...
spec/javascripts/boards/mock_data.js.es6
View file @
7e4c70ec
...
@@ -46,7 +46,6 @@ const BoardsMockData = {
...
@@ -46,7 +46,6 @@ const BoardsMockData = {
Vue.http.interceptors.push((request, next) => {
Vue.http.interceptors.push((request, next) => {
const body = BoardsMockData[request.method][request.url];
const body = BoardsMockData[request.method][request.url];
console.log(request.url);
next(request.respondWith(JSON.stringify(body), {
next(request.respondWith(JSON.stringify(body), {
status: 200
status: 200
...
...
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