From f0f8e10e4a591e5983b820747ec9638a542015c6 Mon Sep 17 00:00:00 2001 From: Ross Date: Tue, 1 Dec 2020 23:59:57 +0000 Subject: [PATCH] disable exam time input on exam mode --- js/main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/main.js b/js/main.js index 1ee3fe9..265ccdb 100644 --- a/js/main.js +++ b/js/main.js @@ -293,6 +293,7 @@ function setUpQuestions(load_previous) { }); $("#start-dialog").addClass("no-close"); + $("#start-dialog .exam-time").prop("disabled", "true"); $("#exam-candidate-number").toggle(); $(".packet-database-options").toggle(); $("#start-dialog").modal( {closeExisting: false, // Close existing modals. Set this to false if you need to stack multiple modal instances.