This commit is contained in:
Ross
2021-10-17 10:35:22 +01:00
parent 562b3e57cc
commit d4c48c5966
@@ -179,6 +179,14 @@
$(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>Save exam order</button>").click(() => {
new_order = [];
$("#full-question-list li").each((n, el) => {