This commit is contained in:
Ross
2021-10-17 12:12:04 +01:00
parent 56522ae0ae
commit 66d8ec7ddd
+9
View File
@@ -109,6 +109,15 @@
$(this).remove();
sortable('.sortable');
$("#full-question-list li").each((n, el) => {
$(el).append($(
"<span class='exam-question-delete flex-col'><button>DELETE</button></span>"
).click(() => {
el.remove();
}));
})
$("#full-question-list").append($(
"<button title='click and drag questions to change order'>Save exam order</button>"
).click(() => {