From 86bd83a4c3049f725aac74ed130221f38e22dbf1 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 16 Aug 2021 16:10:29 +0000 Subject: [PATCH] . --- longs/templates/longs/user_answer_question_view.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/longs/templates/longs/user_answer_question_view.html b/longs/templates/longs/user_answer_question_view.html index a66559ba..ef420954 100644 --- a/longs/templates/longs/user_answer_question_view.html +++ b/longs/templates/longs/user_answer_question_view.html @@ -31,6 +31,7 @@ $("tbody input:checked").each((n, el) => { answer_ids.push(el.value); }) + if (confirm(`Delete ${answer_ids.length} answers?`)) { $.ajax({ url: "{% url 'longs:user_answer_delete_multiple' %}", data: { @@ -53,6 +54,7 @@ .always(function () { console.log('[Done]'); }) + } }) });