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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
e42f88ca
Commit
e42f88ca
authored
8 years ago
by
Alfredo Sumaran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restore dropdown state when unchecking all issues
parent
5a474ff8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
app/assets/javascripts/labels_select.js.coffee
app/assets/javascripts/labels_select.js.coffee
+14
-0
No files found.
app/assets/javascripts/labels_select.js.coffee
View file @
e42f88ca
...
...
@@ -318,6 +318,20 @@ class @LabelsSelect
@
indeterminateIds
=
_this
.
getIndeterminateIds
()
)
@
bindEvents
()
bindEvents
:
->
$
(
'body'
).
on
'change'
,
'.selected_issue'
,
@
onSelectCheckboxIssue
onSelectCheckboxIssue
:
->
return
if
$
(
'.selected_issue:checked'
).
length
# Remove inputs
$
(
'.issues_bulk_update .labels-filter input[type="hidden"]'
).
remove
()
# Also restore button text
$
(
'.issues_bulk_update .labels-filter .dropdown-toggle-text'
).
text
(
'Label'
)
getIndeterminateIds
:
->
label_ids
=
[]
...
...
This diff is collapsed.
Click to expand it.
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