.
This commit is contained in:
+2
-2
@@ -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) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user