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
b320647f
Commit
b320647f
authored
Dec 12, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed variable names in members.js.es6
parent
9198ce3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
app/assets/javascripts/members.js.es6
app/assets/javascripts/members.js.es6
+4
-6
No files found.
app/assets/javascripts/members.js.es6
View file @
b320647f
...
...
@@ -24,13 +24,11 @@
$btn.glDropdown({
selectable: true,
isSelectable(selected, $el) {
const $link = $($el);
if ($link.data('revert')) {
if ($el.data('revert')) {
return false;
}
return !$
link
.hasClass('is-active');
return !$
el
.hasClass('is-active');
},
fieldName: $btn.data('field-name'),
id(selected, $el) {
...
...
@@ -44,11 +42,11 @@
return $el.text();
},
clicked: (selected, $link) => {
const { $memberListItem, $toggle, $dateInput } = this.getMemberListItems($link);
if (!$link.data('revert')) {
this.formSubmit(null, $link);
} else {
const { $memberListItem, $toggle, $dateInput } = this.getMemberListItems($link);
$toggle.disable();
$dateInput.disable();
...
...
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