This commit is contained in:
Ross
2022-12-16 18:28:06 +00:00
parent aeac202a3c
commit e5e36e03fd
2 changed files with 12 additions and 11 deletions
+10 -11
View File
@@ -5,6 +5,16 @@ import * as interact from "./interact.js";
import * as config from "./config.js";
// const { v4: uuidv4 } = require('uuid');
$("#btn-candidate-login").click(function(evt) {
$("#login-dialog").modal({
escapeClose: false,
clickClose: false,
showClose: false
});
$("#options-panel").toggle();
//$(".exam-wrapper").toggle();
});
let exam_details = {
aid: null,
cid: "",
@@ -2454,17 +2464,6 @@ function showLoginDialog() {
}
$(document).ready(function() {
$("#btn-candidate-login").click(function(evt) {
$("#login-dialog").modal({
escapeClose: false,
clickClose: false,
showClose: false
});
$("#options-panel").toggle();
//$(".exam-wrapper").toggle();
});
});
$("#btn-user-login").click(function(evt) {
window.location = "/accounts/login/?next=/rts"