             @$el.empty()
 
         @getCleaningStatus()
-
     
     # Store 'Cleanup' state
     getCleaningStatus: (callback) ->     








module.exports = taskOverviewSubview

        data

    killPrompt: ->
        @taskModel.promptKill @killType, =>
            if _.contains ['kill9','kill9Warning'], @killType
                @model.set 'killStatus', 'kill9'

            # Poll for 'Cleanup' changes so we can update kill messages/buttons
            x = 0
            taskKillInterval = setInterval((=>
                @trigger 'refreshrequest'
                @getCleaningStatus()

                if ++x == 4 or !@model.get 'isStillRunning'
                    clearInterval taskKillInterval 
                return

            ), 1500)
    
    killTask: (event) ->
        @killType = $(event.currentTarget).data('kill-type')      
