Commit a0d58a83 authored by Alfredo Sumaran's avatar Alfredo Sumaran

Reinitialize checkboxes to toggle event bindings

parent 72d87d6c
......@@ -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')
......
......@@ -9,6 +9,9 @@ class @IssuableBulkActions
@bindEvents()
# Fixes bulk-assign not working when navigating through pages
Issuable.initChecks();
getElement: (selector) ->
@container.find selector
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment