Fix: () => { } -> function() { }

This commit is contained in:
2018-09-13 15:28:47 +09:00
parent e8c7304dba
commit bccee696d4
9 changed files with 68 additions and 68 deletions
+8 -8
View File
@@ -12,15 +12,15 @@ function loadMaestroInfo(maestroID) {
"./../server/maestro/maestro_info.php",
"maestro_id=" + maestroID,
(jsonData) => {
(function(jsonData) {
// console.log(jsonData);
registeredAccountType = jsonData.accountType;
updateCards(registeredAccountType);
},
}),
(errorMessage, errorCode) => {
(function(errorMessage, errorCode) {
showErrorMessage(errorMessage, "error");
}
})
);
}
@@ -124,15 +124,15 @@ function upgradeMaestroInfo(accountType) {
"./../server/maestro/request_upgrade_maestro.php",
"maestro_id=" + maestroID + "&registered_account_type=" + registeredAccountType + "&new_account_type=" + newAccountType,
(jsonData) => {
(function(jsonData) {
// console.log(jsonData);
alert("업그레이드 요청이 등록되었습니다.");
location.href="main_menu.html";
},
}),
(errorMessage, errorCode) => {
(function(errorMessage, errorCode) {
showErrorMessage(errorMessage, "error");
}
})
);