mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-22 10:55:19 -04:00
parent
5eb65e49fe
commit
cfe3e280e5
1 changed files with 1 additions and 0 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue