     if List.current.id isnt "all" and task.list isnt List.current.id
       @release()
 
+  # Delete Button
   remove: ->
     @task.destroy()
 

    @task.completed = !@task.completed
    @task.save()

module.exports = TaskItem

    "dblclick": "edit"
    "blur input": "finishEdit"
    "keyup input": "finishEditOnEnter"

    # Editing the actual task
    'click .name': 'startEdit'
    'blur .name': 'endEdit'

  constructor: ->
    super
