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
9350de6f
Commit
9350de6f
authored
Aug 05, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Gets issues after the list is saved to the DB
Fixes issue with clipboard.js throwing an error
parent
6f6746b4
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
app/assets/javascripts/boards/models/list.js.es6
app/assets/javascripts/boards/models/list.js.es6
+5
-2
app/assets/javascripts/boards/stores/boards_store.js.es6
app/assets/javascripts/boards/stores/boards_store.js.es6
+1
-0
app/assets/javascripts/copy_to_clipboard.js
app/assets/javascripts/copy_to_clipboard.js
+1
-1
No files found.
app/assets/javascripts/boards/models/list.js.es6
View file @
9350de6f
...
...
@@ -4,13 +4,14 @@ class List {
this.position = obj.position;
this.title = obj.title;
this.type = obj.list_type;
this.loading = true;
this.issues = [];
if (obj.label) {
this.label = new Label(obj.label);
}
if (this.type !== 'blank') {
if (this.type !== 'blank'
&& this.id
) {
this.getIssues();
}
}
...
...
@@ -23,6 +24,8 @@ class List {
this.id = data.id;
this.type = data.list_type;
this.position = data.position;
this.getIssues();
});
}
...
...
app/assets/javascripts/boards/stores/boards_store.js.es6
View file @
9350de6f
...
...
@@ -59,6 +59,7 @@
}
},
removeBlankState: function () {
if ($.cookie('issue_board_welcome_hidden') === 'true') return;
this.removeList('blank');
$.cookie('issue_board_welcome_hidden', 'true', {
...
...
app/assets/javascripts/copy_to_clipboard.js
View file @
9350de6f
...
...
@@ -35,7 +35,7 @@
$
(
function
()
{
var
clipboard
;
if
(
$
(
'
body
'
).
attr
(
'
data-page
'
)
!==
'
projects:boards:
index
'
)
{
if
(
$
(
'
body
'
).
attr
(
'
data-page
'
)
!==
'
projects:boards:
show
'
)
{
clipboard
=
new
Clipboard
(
'
[data-clipboard-target], [data-clipboard-text]
'
);
clipboard
.
on
(
'
success
'
,
genericSuccess
);
return
clipboard
.
on
(
'
error
'
,
genericError
);
...
...
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