Fix: loadMaestroID, saveMaestroID

This commit is contained in:
2018-07-06 08:41:47 +09:00
parent a9ccd52ba1
commit 49fd613dfc
13 changed files with 62 additions and 128 deletions
+2 -1
View File
@@ -32,7 +32,8 @@ function login() {
// console.log(replyJSON["MaestroID"]);
if(replyJSON !== null && replyJSON["MaestroID"] !== undefined && replyJSON["MaestroID"] !== null) {
sessionStorage.setItem("maestroID", replyJSON["MaestroID"]);
maestroID = replyJSON["MaestroID"];
sessionStorage.setItem("maestroID", maestroID);
location.href = './../maestro/main_menu.html';
} else {
$("#error_message").val(replyJSON["ERROR"]);