Fix: experience maestro account, experience_player_account
This commit is contained in:
@@ -14,9 +14,9 @@
|
||||
|
||||
<script>
|
||||
|
||||
function loadMaestroTestAccountInfo() {
|
||||
function loadMaestroExperienceAccount() {
|
||||
sendRequestServer( //url, sendParams, onSuccess, onFail, isDebugMode);
|
||||
"./../server/maestro/maestro_test_account.php",
|
||||
"./../server/maestro/maestro_experience_account.php",
|
||||
"",
|
||||
|
||||
(jsonData) => {
|
||||
@@ -31,6 +31,8 @@ function loadMaestroTestAccountInfo() {
|
||||
sessionStorage.setItem("maestroID", maestroID);
|
||||
sessionStorage.setItem("playerID", playerID);
|
||||
sessionStorage.setItem("playerName", playerName);
|
||||
|
||||
location.href = "./../maestro/main_menu.html";
|
||||
},
|
||||
|
||||
(errorMessage, errorCode) => {
|
||||
@@ -44,8 +46,7 @@ function loadMaestroTestAccountInfo() {
|
||||
}
|
||||
|
||||
function experienceMaestro() {
|
||||
loadMaestroTestAccountInfo();
|
||||
location.href = "./../maestro/main_menu.html";
|
||||
loadMaestroExperienceAccount();
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user