This commit is contained in:
@@ -1429,31 +1429,7 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
|
||||
});
|
||||
|
||||
dz.on("queuecomplete", function () {
|
||||
let result = lastUploadResponse;
|
||||
|
||||
if (typeof result === "string") {
|
||||
try {
|
||||
result = JSON.parse(result);
|
||||
} catch (e) {
|
||||
result = { code: "-1", msg: result };
|
||||
}
|
||||
}
|
||||
|
||||
if (String(result.code) === "0") {
|
||||
swal.fire({
|
||||
title: "업로드가 완료되었습니다.",
|
||||
icon: "success",
|
||||
});
|
||||
location.reload();
|
||||
return;
|
||||
}
|
||||
|
||||
const msg = result.msg ? result.msg : "업로드 실패";
|
||||
swal.fire({
|
||||
title: msg,
|
||||
icon: "error",
|
||||
draggable: true
|
||||
});
|
||||
location.reload();
|
||||
});
|
||||
|
||||
dz.on("successmultiple", function () {
|
||||
|
||||
Reference in New Issue
Block a user