This commit is contained in:
Ross
2022-01-03 15:32:48 +00:00
parent 036f1c9d5e
commit 7fa0f5c108
+2 -2
View File
@@ -256,11 +256,11 @@ async function loadExamList(data) {
console.log("new question json id", new_question_json_id) console.log("new question json id", new_question_json_id)
//q = q.toString(); //q = q.toString();
$("#cache-details ul").append( $("#cache-details ul").append(
`<li class="cache-item" data-qid=${q}>Question (${saved_exam.exam_type}): ${q}` `<li class="cache-item" data-qid=${q}>Question (${saved_exam.exam_type}): ${q} [New JSON id: ${new_question_json_id}]`
); );
// If a single question is out of date we invalidate the lot... // If a single question is out of date we invalidate the lot...
const q_object = { qid: String(q), type: saved_exam.exam_type }; const q_object = { qid: String(q), type: saved_exam.exam_type };
console.log(q_object); console.log("q_object", q_object);
question_db.question_data question_db.question_data
.get(q_object) .get(q_object)
.then((d) => { .then((d) => {