This commit is contained in:
Ross
2021-02-26 16:09:59 +00:00
parent 69e4cfa354
commit 8b1c3cfcb6
+3 -3
View File
@@ -102,12 +102,12 @@ $(document).ready(function () {
function addToExam(evt) {
ids = []
let ids = []
$("table input:checked").each((n, el) => {
ids.push(el.value)
})
post_url = document.getElementById("button-select-add-exam").dataset.exam_json_edit_url;
type = document.getElementById("button-select-add-exam").dataset.type;
let post_url = document.getElementById("button-select-add-exam").dataset.exam_json_edit_url;
let type = document.getElementById("button-select-add-exam").dataset.type;
$.ajax({
url: post_url,
data: {