Clan delete confirm dialog

Fixes 
This commit is contained in:
Matt Lott 2015-04-21 13:41:31 -07:00
parent 5eb65e49fe
commit cfe3e280e5

View file

@ -163,6 +163,7 @@ module.exports = class ClanDetailsView extends RootView
onDeleteClan: (e) ->
return @openModalView(new AuthModal()) if me.isAnonymous()
return unless window.confirm("Delete Clan?")
options =
url: "/db/clan/#{@clanID}"
method: 'DELETE'