mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-17 19:12:33 -05: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…
Reference in a new issue