From 30d47621bf2797e0197e4f93c9e2e4c6a3685db4 Mon Sep 17 00:00:00 2001 From: Matt Lott Date: Thu, 23 Apr 2015 14:33:13 -0700 Subject: [PATCH] Confirm Clan remove hero --- app/views/clans/ClanDetailsView.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/clans/ClanDetailsView.coffee b/app/views/clans/ClanDetailsView.coffee index b53a12d49..66d2d7577 100644 --- a/app/views/clans/ClanDetailsView.coffee +++ b/app/views/clans/ClanDetailsView.coffee @@ -220,6 +220,7 @@ module.exports = class ClanDetailsView extends RootView @supermodel.addRequestResource( 'leave_clan', options).load() onRemoveMember: (e) -> + return unless window.confirm("Remove Hero?") if memberID = $(e.target).data('id') options = url: "/db/clan/#{@clanID}/remove/#{memberID}"