MCPcopy Create free account
hub / github.com/codecombat/codecombat / confirmDeletion

Method confirmDeletion

app/views/editor/chat/ChatEditView.js:122–133  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

120 }
121
122 confirmDeletion () {
123 const renderData = {
124 title: 'Are you really sure?',
125 body: 'This will completely delete the chat message.',
126 decline: 'Not really',
127 confirm: 'Definitely'
128 }
129
130 const confirmModal = new ConfirmModal(renderData)
131 confirmModal.on('confirm', this.deleteChatMessage)
132 return this.openModalView(confirmModal)
133 }
134
135 deleteChatMessage () {
136 return $.ajax({

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected