()
| 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({ |
nothing calls this directly
no outgoing calls
no test coverage detected