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
Tatuya Kamada
gitlab-ce
Commits
c401088b
Commit
c401088b
authored
Feb 27, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed JS conflicts
parent
16808a27
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
13 deletions
+6
-13
app/assets/javascripts/boards/models/list.js.es6
app/assets/javascripts/boards/models/list.js.es6
+6
-13
No files found.
app/assets/javascripts/boards/models/list.js.es6
View file @
c401088b
...
@@ -134,31 +134,24 @@ class List {
...
@@ -134,31 +134,24 @@ class List {
if (listFrom) {
if (listFrom) {
this.issuesSize += 1;
this.issuesSize += 1;
<<<<<<< HEAD
gl.boardService.moveIssue(issue.id, listFrom.id, this.id, moveBeforeIid, moveAfterIid)
this.updateIssueLabel(issue, listFrom, moveBeforeIid, moveAfterIid);
.then(() => {
listFrom.getIssues(false);
});
=======
this.updateIssueLabel(issue, listFrom);
>>>>>>> 82f6c0f5ac4ed29390ed90592d2c431f3494d93f
}
}
}
}
}
}
<<<<<<< HEAD
moveIssue (issue, oldIndex, newIndex, moveBeforeIid, moveAfterIid) {
moveIssue (issue, oldIndex, newIndex, moveBeforeIid, moveAfterIid) {
this.issues.splice(oldIndex, 1);
this.issues.splice(oldIndex, 1);
this.issues.splice(newIndex, 0, issue);
this.issues.splice(newIndex, 0, issue);
gl.boardService.moveIssue(issue.id, null, null, moveBeforeIid, moveAfterIid);
gl.boardService.moveIssue(issue.id, null, null, moveBeforeIid, moveAfterIid);
=======
}
updateIssueLabel(issue, listFrom) {
gl.boardService.moveIssue(issue.id, listFrom.id, this.id)
updateIssueLabel(issue, listFrom, moveBeforeIid, moveAfterIid) {
gl.boardService.moveIssue(issue.id, listFrom.id, this.id, moveBeforeIid, moveAfterIid)
.then(() => {
.then(() => {
listFrom.getIssues(false);
listFrom.getIssues(false);
});
});
>>>>>>> 82f6c0f5ac4ed29390ed90592d2c431f3494d93f
}
}
findIssue (id) {
findIssue (id) {
...
...
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