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
8b977b29
Commit
8b977b29
authored
Jan 27, 2017
by
Phil Hughes
Committed by
Fatih Acet
Feb 03, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed some failing lint tests
parent
0904e9b1
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
7 deletions
+8
-7
app/assets/javascripts/boards/components/modal/footer.js.es6
app/assets/javascripts/boards/components/modal/footer.js.es6
+1
-1
app/assets/javascripts/boards/components/modal/list.js.es6
app/assets/javascripts/boards/components/modal/list.js.es6
+5
-4
app/assets/javascripts/boards/models/issue.js.es6
app/assets/javascripts/boards/models/issue.js.es6
+1
-1
app/assets/stylesheets/pages/boards.scss
app/assets/stylesheets/pages/boards.scss
+1
-1
No files found.
app/assets/javascripts/boards/components/modal/footer.js.es6
View file @
8b977b29
...
...
@@ -26,7 +26,7 @@
},
addIssues() {
const list = this.selectedList;
const issueIds = this.selectedIssues.map(issue => issue.
_i
d);
const issueIds = this.selectedIssues.map(issue => issue.
globalI
d);
// Post the data to the backend
this.$http.post(this.bulkUpdatePath, {
...
...
app/assets/javascripts/boards/components/modal/list.js.es6
View file @
8b977b29
...
...
@@ -31,13 +31,13 @@
},
methods: {
toggleIssue: ModalStore.toggleIssue.bind(ModalStore),
listHeight
() {
listHeight() {
return this.$refs.list.getBoundingClientRect().height;
},
scrollHeight
() {
scrollHeight() {
return this.$refs.list.scrollHeight;
},
scrollTop
() {
scrollTop() {
return this.$refs.list.scrollTop + this.listHeight();
},
showIssue(issue) {
...
...
@@ -70,7 +70,8 @@
this.$refs.list.onscroll = () => {
const currentPage = Math.floor(this.issues.length / this.perPage);
if ((this.scrollTop() > this.scrollHeight() - 100) && !this.loadingNewPage && currentPage === this.page) {
if ((this.scrollTop() > this.scrollHeight() - 100) && !this.loadingNewPage
&& currentPage === this.page) {
this.loadingNewPage = true;
this.page += 1;
}
...
...
app/assets/javascripts/boards/models/issue.js.es6
View file @
8b977b29
...
...
@@ -6,7 +6,7 @@
class ListIssue {
constructor (obj) {
this.
_i
d = obj.id;
this.
globalI
d = obj.id;
this.id = obj.iid;
this.title = obj.title;
this.confidential = obj.confidential;
...
...
app/assets/stylesheets/pages/boards.scss
View file @
8b977b29
...
...
@@ -255,7 +255,7 @@
.form-control
{
display
:
inline-block
;
width
:
210px
;
margin-right
:
10px
margin-right
:
10px
;
}
}
...
...
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