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
f44bac30
Commit
f44bac30
authored
Apr 24, 2017
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[skip ci] use dot notation instead of colon for namespace
parent
4d41405c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
app/assets/javascripts/sidebar/components/assignees/sidebar_assignees.js
...scripts/sidebar/components/assignees/sidebar_assignees.js
+4
-4
app/assets/javascripts/users_select.js
app/assets/javascripts/users_select.js
+4
-4
No files found.
app/assets/javascripts/sidebar/components/assignees/sidebar_assignees.js
View file @
f44bac30
...
...
@@ -42,10 +42,10 @@ export default {
},
created
()
{
// Get events from glDropdown
eventHub
.
$on
(
'
sidebar
:
removeUser
'
,
this
.
store
.
removeUserId
.
bind
(
this
.
store
));
eventHub
.
$on
(
'
sidebar
:
addUser
'
,
this
.
store
.
addUserId
.
bind
(
this
.
store
));
eventHub
.
$on
(
'
sidebar
:
removeAllUsers
'
,
this
.
store
.
removeAllUserIds
.
bind
(
this
.
store
));
eventHub
.
$on
(
'
sidebar
:
saveUsers
'
,
this
.
saveUsers
);
eventHub
.
$on
(
'
sidebar
.
removeUser
'
,
this
.
store
.
removeUserId
.
bind
(
this
.
store
));
eventHub
.
$on
(
'
sidebar
.
addUser
'
,
this
.
store
.
addUserId
.
bind
(
this
.
store
));
eventHub
.
$on
(
'
sidebar
.
removeAllUsers
'
,
this
.
store
.
removeAllUserIds
.
bind
(
this
.
store
));
eventHub
.
$on
(
'
sidebar
.
saveUsers
'
,
this
.
saveUsers
);
},
beforeMount
()
{
const
element
=
this
.
$el
;
...
...
app/assets/javascripts/users_select.js
View file @
f44bac30
...
...
@@ -277,7 +277,7 @@ import eventHub from './sidebar/event_hub';
defaultLabel
:
defaultLabel
,
hidden
:
function
(
e
)
{
if
(
$dropdown
.
hasClass
(
'
js-multiselect
'
))
{
eventHub
.
$emit
(
'
sidebar
:
saveUsers
'
);
eventHub
.
$emit
(
'
sidebar
.
saveUsers
'
);
}
$selectbox
.
hide
();
...
...
@@ -302,10 +302,10 @@ import eventHub from './sidebar/event_hub';
const
id
=
parseInt
(
element
.
value
,
10
);
element
.
remove
();
});
eventHub
.
$emit
(
'
sidebar
:
removeAllUsers
'
);
eventHub
.
$emit
(
'
sidebar
.
removeAllUsers
'
);
}
else
if
(
isActive
)
{
// user selected
eventHub
.
$emit
(
'
sidebar
:
addUser
'
,
user
.
id
);
eventHub
.
$emit
(
'
sidebar
.
addUser
'
,
user
.
id
);
// Remove unassigned selection (if it was previously selected)
const
unassignedSelected
=
$dropdown
.
closest
(
'
.selectbox
'
)
...
...
@@ -321,7 +321,7 @@ import eventHub from './sidebar/event_hub';
}
// User unselected
eventHub
.
$emit
(
'
sidebar
:
removeUser
'
,
user
.
id
);
eventHub
.
$emit
(
'
sidebar
.
removeUser
'
,
user
.
id
);
}
}
...
...
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