Skip to content
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit b8ca086

Browse files
committed
Remove event handlers for enabling/disabling TaskLists
1 parent 1c2d845 commit b8ca086

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

app/assets/javascripts/task_lists.coffee

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -180,10 +180,6 @@ $.fn.enableTaskList = ->
180180
for container in this
181181
enableTaskList $(container)
182182

183-
# (Re)enable a TaskList container.
184-
$(document).on 'tasklist:enable', '.js-task-list-container', (event) ->
185-
enableTaskList $(this)
186-
187183
# Disable TaskList item changes.
188184
disableTaskList = ($container) ->
189185
$container.
@@ -197,10 +193,6 @@ $.fn.disableTaskList = ->
197193
for container in this
198194
disableTaskList $(container)
199195

200-
# Disable a TaskList container.
201-
$(document).on 'tasklist:disable', '.js-task-list-container', (event) ->
202-
disableTaskList $(this)
203-
204196
# When the page is updated, enable new TaskList containers.
205197
$.pageUpdate ->
206198
$('.js-task-list-container').enableTaskList()

0 commit comments

Comments
 (0)