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
Jérome Perrin
gitlab-ce
Commits
a0d58a83
Commit
a0d58a83
authored
Jun 13, 2016
by
Alfredo Sumaran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reinitialize checkboxes to toggle event bindings
parent
72d87d6c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
app/assets/javascripts/issuable.js.coffee
app/assets/javascripts/issuable.js.coffee
+3
-2
app/assets/javascripts/issues-bulk-assignment.js.coffee
app/assets/javascripts/issues-bulk-assignment.js.coffee
+3
-0
No files found.
app/assets/javascripts/issuable.js.coffee
View file @
a0d58a83
...
...
@@ -99,11 +99,12 @@ issuable_created = false
$
(
'#filter_issue_search'
).
val
(
$
(
'#issue_search'
).
val
())
initChecks
:
->
$
(
'.check_all_issues'
).
off
(
'click'
).
on
'click'
,
->
$
(
'.check_all_issues'
).
off
(
'click'
).
on
(
'click'
,
->
$
(
'.selected_issue'
).
prop
(
'checked'
,
@
checked
)
Issuable
.
checkChanged
()
)
$
(
'.selected_issue'
).
off
(
'change'
).
on
'change'
,
Issuable
.
checkChanged
$
(
'.selected_issue'
).
off
(
'change'
).
on
(
'change'
,
Issuable
.
checkChanged
)
updateStateFilters
:
->
stateFilters
=
$
(
'.issues-state-filters, .dropdown-menu-sort'
)
...
...
app/assets/javascripts/issues-bulk-assignment.js.coffee
View file @
a0d58a83
...
...
@@ -9,6 +9,9 @@ class @IssuableBulkActions
@
bindEvents
()
# Fixes bulk-assign not working when navigating through pages
Issuable
.
initChecks
();
getElement
:
(
selector
)
->
@
container
.
find
selector
...
...
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