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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
65bda449
Commit
65bda449
authored
Jun 28, 2017
by
Toon Claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Port changes from CE to EE
parent
c3546b8c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
app/assets/javascripts/sidebar/components/assignees/sidebar_assignees.js
...scripts/sidebar/components/assignees/sidebar_assignees.js
+6
-4
No files found.
app/assets/javascripts/sidebar/components/assignees/sidebar_assignees.js
View file @
65bda449
...
@@ -33,12 +33,14 @@ export default {
...
@@ -33,12 +33,14 @@ export default {
saveAssignees
()
{
saveAssignees
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
this
.
mediator
.
saveAssignees
(
this
.
field
)
function
setLoadingFalse
()
{
.
then
(()
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
})
}
this
.
mediator
.
saveAssignees
(
this
.
field
)
.
then
(
setLoadingFalse
.
bind
(
this
))
.
catch
(()
=>
{
.
catch
(()
=>
{
this
.
loading
=
false
;
setLoadingFalse
()
;
return
new
Flash
(
'
Error occurred when saving assignees
'
);
return
new
Flash
(
'
Error occurred when saving assignees
'
);
});
});
},
},
...
...
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