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
ca171eed
Commit
ca171eed
authored
Oct 12, 2017
by
Simon Knox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix lints
parent
773da9b4
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
3 deletions
+6
-3
app/assets/javascripts/boards/components/assignee_select.vue
app/assets/javascripts/boards/components/assignee_select.vue
+3
-3
app/assets/javascripts/labels_select.js
app/assets/javascripts/labels_select.js
+1
-0
app/assets/javascripts/milestone_select.js
app/assets/javascripts/milestone_select.js
+1
-0
app/assets/javascripts/users_select.js
app/assets/javascripts/users_select.js
+1
-0
No files found.
app/assets/javascripts/boards/components/assignee_select.vue
View file @
ca171eed
...
@@ -62,7 +62,7 @@ export default {
...
@@ -62,7 +62,7 @@ export default {
},
},
selectedId
()
{
selectedId
()
{
return
this
.
selected
?
this
.
selected
.
id
:
null
;
return
this
.
selected
?
this
.
selected
.
id
:
null
;
}
}
,
},
},
watch
:
{
watch
:
{
selected
()
{
selected
()
{
...
@@ -83,8 +83,8 @@ export default {
...
@@ -83,8 +83,8 @@ export default {
id
:
undefined
,
id
:
undefined
,
};
};
}
}
this
.
board
.
assignee_id
=
user
.
id
;
this
.
board
.
assignee_id
=
assignee
.
id
;
this
.
board
.
assignee
=
user
;
this
.
board
.
assignee
=
assignee
;
},
},
},
},
mounted
()
{
mounted
()
{
...
...
app/assets/javascripts/labels_select.js
View file @
ca171eed
...
@@ -393,6 +393,7 @@ import CreateLabelDropdown from './create_label';
...
@@ -393,6 +393,7 @@ import CreateLabelDropdown from './create_label';
.
catch
(
fadeOutLoader
);
.
catch
(
fadeOutLoader
);
}
}
else
if
(
handleClick
)
{
else
if
(
handleClick
)
{
e
.
preventDefault
();
handleClick
(
label
);
handleClick
(
label
);
}
}
else
{
else
{
...
...
app/assets/javascripts/milestone_select.js
View file @
ca171eed
...
@@ -174,6 +174,7 @@ import _ from 'underscore';
...
@@ -174,6 +174,7 @@ import _ from 'underscore';
if
(
!
selected
)
return
;
if
(
!
selected
)
return
;
if
(
options
.
handleClick
)
{
if
(
options
.
handleClick
)
{
e
.
preventDefault
();
options
.
handleClick
(
selected
);
options
.
handleClick
(
selected
);
return
;
return
;
}
}
...
...
app/assets/javascripts/users_select.js
View file @
ca171eed
...
@@ -445,6 +445,7 @@ function UsersSelect(currentUser, els, options = {}) {
...
@@ -445,6 +445,7 @@ function UsersSelect(currentUser, els, options = {}) {
if
(
$el
.
closest
(
'
.add-issues-modal
'
).
length
)
{
if
(
$el
.
closest
(
'
.add-issues-modal
'
).
length
)
{
gl
.
issueBoards
.
ModalStore
.
store
.
filter
[
$dropdown
.
data
(
'
field-name
'
)]
=
user
.
id
;
gl
.
issueBoards
.
ModalStore
.
store
.
filter
[
$dropdown
.
data
(
'
field-name
'
)]
=
user
.
id
;
}
else
if
(
handleClick
)
{
}
else
if
(
handleClick
)
{
e
.
preventDefault
();
handleClick
(
user
,
isMarking
);
handleClick
(
user
,
isMarking
);
}
else
if
(
$dropdown
.
hasClass
(
'
js-filter-submit
'
)
&&
(
isIssueIndex
||
isMRIndex
))
{
}
else
if
(
$dropdown
.
hasClass
(
'
js-filter-submit
'
)
&&
(
isIssueIndex
||
isMRIndex
))
{
return
Issuable
.
filterResults
(
$dropdown
.
closest
(
'
form
'
));
return
Issuable
.
filterResults
(
$dropdown
.
closest
(
'
form
'
));
...
...
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