.
This commit is contained in:
@@ -102,12 +102,12 @@ $(document).ready(function () {
|
|||||||
|
|
||||||
function addToExam(evt) {
|
function addToExam(evt) {
|
||||||
|
|
||||||
ids = []
|
let ids = []
|
||||||
$("table input:checked").each((n, el) => {
|
$("table input:checked").each((n, el) => {
|
||||||
ids.push(el.value)
|
ids.push(el.value)
|
||||||
})
|
})
|
||||||
post_url = document.getElementById("button-select-add-exam").dataset.exam_json_edit_url;
|
let post_url = document.getElementById("button-select-add-exam").dataset.exam_json_edit_url;
|
||||||
type = document.getElementById("button-select-add-exam").dataset.type;
|
let type = document.getElementById("button-select-add-exam").dataset.type;
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: post_url,
|
url: post_url,
|
||||||
data: {
|
data: {
|
||||||
|
|||||||
Reference in New Issue
Block a user