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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
eccc1f59
Commit
eccc1f59
authored
Apr 26, 2016
by
Alfredo Sumaran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update classname for indeterminate state
parent
6974d970
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
app/assets/javascripts/labels_select.js.coffee
app/assets/javascripts/labels_select.js.coffee
+1
-1
app/assets/stylesheets/framework/dropdowns.scss
app/assets/stylesheets/framework/dropdowns.scss
+2
-2
No files found.
app/assets/javascripts/labels_select.js.coffee
View file @
eccc1f59
...
@@ -205,7 +205,7 @@ class @LabelsSelect
...
@@ -205,7 +205,7 @@ class @LabelsSelect
if
$dropdown
.
hasClass
(
'js-filter-bulk-update'
)
if
$dropdown
.
hasClass
(
'js-filter-bulk-update'
)
indeterminate
=
instance
.
indeterminateIds
indeterminate
=
instance
.
indeterminateIds
if
indeterminate
.
indexOf
(
label
.
id
)
isnt
-
1
if
indeterminate
.
indexOf
(
label
.
id
)
isnt
-
1
selectedClass
.
push
'indeterminate'
selectedClass
.
push
'i
s-i
ndeterminate'
if
$form
.
find
(
"input[type='hidden']
\
if
$form
.
find
(
"input[type='hidden']
\
[name='
#{
$dropdown
.
data
(
'fieldName'
)
}
']
\
[name='
#{
$dropdown
.
data
(
'fieldName'
)
}
']
\
...
...
app/assets/stylesheets/framework/dropdowns.scss
View file @
eccc1f59
...
@@ -232,7 +232,7 @@
...
@@ -232,7 +232,7 @@
a
{
a
{
padding-left
:
25px
;
padding-left
:
25px
;
&
.indeterminate
,
&
.is-active
{
&
.i
s-i
ndeterminate
,
&
.is-active
{
&
:
:
before
{
&
:
:
before
{
position
:
absolute
;
position
:
absolute
;
left
:
5px
;
left
:
5px
;
...
@@ -246,7 +246,7 @@
...
@@ -246,7 +246,7 @@
}
}
}
}
&.
indeterminate
:
:
before
{
&.
i
s-i
ndeterminate
:
:
before
{
content
:
"\f068"
;
content
:
"\f068"
;
}
}
...
...
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