This commit is contained in:
Ross
2021-08-04 19:41:02 +01:00
parent 17828e2174
commit 936d883242
+1
View File
@@ -279,6 +279,7 @@ async function loadExamList(data) {
// saved_question_data is undefined if the question is not saved // saved_question_data is undefined if the question is not saved
// we should really just requeue the required question for dowload... // we should really just requeue the required question for dowload...
if (save_question_data == undefined || save_question_data.data.question_json_id != new_question_json_id) { if (save_question_data == undefined || save_question_data.data.question_json_id != new_question_json_id) {
console.log(`INVALIDATE eid: ${saved_exam.eid}, q ${q}`);
$(`li.cache-item[data-eid="${saved_exam.eid}"]`).addClass( $(`li.cache-item[data-eid="${saved_exam.eid}"]`).addClass(
"cache-out-of-date" "cache-out-of-date"
); );