mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-26 05:53:39 -04:00
Confirm Clan remove hero
This commit is contained in:
parent
1e688f1d61
commit
30d47621bf
1 changed files with 1 additions and 0 deletions
|
@ -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}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue