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
39e38a58
Commit
39e38a58
authored
Apr 27, 2017
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[skip ci] add eventHub.
parent
cb62eca8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
app/assets/javascripts/boards/components/board_sidebar.js
app/assets/javascripts/boards/components/board_sidebar.js
+6
-0
No files found.
app/assets/javascripts/boards/components/board_sidebar.js
View file @
39e38a58
...
...
@@ -105,6 +105,12 @@ require('./sidebar/remove_issue');
eventHub
.
$on
(
'
sidebar.removeAllUsers
'
,
this
.
removeAllUsers
);
eventHub
.
$on
(
'
sidebar.saveUsers
'
,
this
.
saveUsers
);
},
beforeDestroy
()
{
eventHub
.
$off
(
'
sidebar.removeUser
'
,
this
.
removeUser
);
eventHub
.
$off
(
'
sidebar.addUser
'
,
this
.
addUser
);
eventHub
.
$off
(
'
sidebar.removeAllUsers
'
,
this
.
removeAllUsers
);
eventHub
.
$off
(
'
sidebar.saveUsers
'
,
this
.
saveUsers
);
},
mounted
()
{
new
IssuableContext
(
this
.
currentUser
);
new
MilestoneSelect
();
...
...
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