Fix: () => { } -> function() { }
This commit is contained in:
@@ -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();
|
||||
}
|
||||
})
|
||||
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user