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
7d0feab3
Commit
7d0feab3
authored
Jan 24, 2017
by
Phil Hughes
Committed by
Fatih Acet
Feb 03, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes layout issue on selected tab
Fixed modal not closing on cancel clicked
parent
48b3623f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
4 deletions
+15
-4
app/assets/javascripts/boards/components/modal/footer.js.es6
app/assets/javascripts/boards/components/modal/footer.js.es6
+5
-4
app/assets/javascripts/boards/components/modal/list.js.es6
app/assets/javascripts/boards/components/modal/list.js.es6
+10
-0
No files found.
app/assets/javascripts/boards/components/modal/footer.js.es6
View file @
7d0feab3
...
...
@@ -7,9 +7,10 @@
gl.issueBoards.ModalFooter = Vue.extend({
data() {
return Object.assign({}, Store.modal, {
return {
store: Store.modal,
disabled: false,
}
)
;
};
},
computed: {
submitDisabled() {
...
...
@@ -25,10 +26,10 @@
},
methods: {
hideModal() {
this.showAddIssuesModal = false;
this.s
tore.s
howAddIssuesModal = false;
},
addIssues() {
const issueIds = this.issues.filter(issue => issue.selected).map(issue => issue.id);
const issueIds = this.
store.
issues.filter(issue => issue.selected).map(issue => issue.id);
this.disabled = true;
},
...
...
app/assets/javascripts/boards/components/modal/list.js.es6
View file @
7d0feab3
...
...
@@ -19,6 +19,16 @@
this.initMasonry();
});
},
issues: {
handler() {
if (this.activeTab === 'selected') {
this.$nextTick(() => {
listMasonry.layout();
});
}
},
deep: true,
}
},
computed: {
loading() {
...
...
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