.
This commit is contained in:
@@ -179,6 +179,14 @@
|
|||||||
$(this).remove();
|
$(this).remove();
|
||||||
sortable('.sortable');
|
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(() => {
|
$("#full-question-list").append($("<button>Save exam order</button>").click(() => {
|
||||||
new_order = [];
|
new_order = [];
|
||||||
$("#full-question-list li").each((n, el) => {
|
$("#full-question-list li").each((n, el) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user