This commit is contained in:
Ross
2021-08-16 16:10:29 +00:00
parent 5a7674b909
commit 86bd83a4c3
@@ -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]');
})
}
})
});
</script>