Commit 72d87d6c authored by Alfredo Sumaran's avatar Alfredo Sumaran

Turn off handlers before binding events

parent 400b4159
......@@ -99,11 +99,11 @@ issuable_created = false
$('#filter_issue_search').val($('#issue_search').val())
initChecks: ->
$('.check_all_issues').on 'click', ->
$('.check_all_issues').off('click').on 'click', ->
$('.selected_issue').prop('checked', @checked)
Issuable.checkChanged()
$('.selected_issue').on 'change', Issuable.checkChanged
$('.selected_issue').off('change').on 'change', Issuable.checkChanged
updateStateFilters: ->
stateFilters = $('.issues-state-filters, .dropdown-menu-sort')
......
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