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
@@ -46,18 +46,18 @@ function checkMaestroID() {
"./../server/maestro/check_id.php",
"maestro_name=" + maestroName,
(jsonData) => {
(function(jsonData) {
isAvailableID = true;
let message = maestroName + " : 새로 등록할 수 있는 마에스트로 아이디입니다.";
showErrorMessage(message, "success");
// $("#password").focus();
},
}),
(errorMessage, errorCode) => {
(function(errorMessage, errorCode) {
isAvailableID = false;
onErrorMaestroID(errorMessage);
}
})
);
}
@@ -181,11 +181,11 @@ function register_account() {
"./../server/maestro/add_maestro.php",
"maestro_name=" + maestroName + "&password=" + password + "&email=" + email + "&account_type=" + selectedAccountTypeValue,
(jsonData) => {
(function(jsonData) {
isAvailableID = true;
},
}),
(errorMessage, errorCode) => {
(function(errorMessage, errorCode) {
isAvailableID = false;
if($("#error_message").length) {
@@ -194,7 +194,7 @@ function register_account() {
$("#maestro_name").val("");
$("#maestro_name").focus();
}
})
);
}