class @ChannelEdit
  @confirm_prompt = (login) ->
    $('#channel_edit_button').click (e) ->
      if !confirm('Are you sure you want to edit this channel ' + login + '?')
        e.preventDefault()
        return false
      return true
