diff --git a/FO/Views/Course/ApplyEdu.cshtml b/FO/Views/Course/ApplyEdu.cshtml index 818d94c..f129128 100644 --- a/FO/Views/Course/ApplyEdu.cshtml +++ b/FO/Views/Course/ApplyEdu.cshtml @@ -383,7 +383,7 @@ capfileform('/fcommon/savePPLog', 'applyEduForm', 'saveResult'); } else { - alert("로그인 후 신청 할 수 있습니다."); + msg("로그인 후 신청 할 수 있습니다."); return; } } @@ -392,7 +392,7 @@ //alert("저장되었습니다. pplno : " + capResult.obj); location.href = "/Course/ApplyPay?pplno=" + capResult.obj; } else { - alert("저장을 실패하였습니다."); + msg("저장을 실패하였습니다."); } return; } diff --git a/FO/Views/Course/SmartSearch.cshtml b/FO/Views/Course/SmartSearch.cshtml index 3f58334..aec45f5 100644 --- a/FO/Views/Course/SmartSearch.cshtml +++ b/FO/Views/Course/SmartSearch.cshtml @@ -292,7 +292,7 @@ checkLectIsComplete(cmno); } else { - alert("로그인 후 신청 할 수 있습니다."); + msg("로그인 후 신청 할 수 있습니다."); return; } } @@ -304,7 +304,7 @@ function check() { var cnt = capResult.obj; if (cnt > 0) { - alert("이미 수강/수료한 과정입니다."); + msg("이미 수강/수료한 과정입니다."); return; } else { diff --git a/FO/Views/Home/Index.cshtml b/FO/Views/Home/Index.cshtml index be583bf..ad29b42 100644 --- a/FO/Views/Home/Index.cshtml +++ b/FO/Views/Home/Index.cshtml @@ -240,15 +240,15 @@ $("#stringval6").val($("#sch5").val()); if ($("#stringval").val() == "0") { - if ($("#stringval2").val() == "") { alert("교육유형을 입력하세요."); $("#stringval2").focus(); return; } - if ($("#stringval3").val() == "") { alert("기술인분류를 입력하세요."); $("#stringval3").focus(); return; } - if ($("#stringval4").val() == "") { alert("교육목적을 입력하세요."); $("#stringval4").focus(); return; } - if ($("#stringval5").val() == "") { alert("등급을 입력하세요."); $("#stringval5").focus(); return; } - if ($("#stringval6").val() == "") { alert("직무분야를 입력하세요."); $("#stringval6").focus(); return; } + if ($("#stringval2").val() == "") { msg("교육유형을 입력하세요."); $("#stringval2").focus(); return; } + if ($("#stringval3").val() == "") { msg("기술인분류를 입력하세요."); $("#stringval3").focus(); return; } + if ($("#stringval4").val() == "") { msg("교육목적을 입력하세요."); $("#stringval4").focus(); return; } + if ($("#stringval5").val() == "") { msg("등급을 입력하세요."); $("#stringval5").focus(); return; } + if ($("#stringval6").val() == "") { msg("직무분야를 입력하세요."); $("#stringval6").focus(); return; } } else if ($("#stringval").val() == "1") { - if ($("#stringval2").val() == "") { alert("교육유형을 입력하세요."); $("#stringval2").focus(); return; } - if ($("#stringval3").val() == "") { alert("교육선택을 입력하세요."); $("#stringval3").focus(); return; } + if ($("#stringval2").val() == "") { msg("교육유형을 입력하세요."); $("#stringval2").focus(); return; } + if ($("#stringval3").val() == "") { msg("교육선택을 입력하세요."); $("#stringval3").focus(); return; } } $("#indexForm").attr("action", "/Course/SmartSearch").submit(); @@ -267,13 +267,13 @@ } } else { if ($(this).parent().attr('id') == 'msSel2') { - alert('교육유형을 선택해주세요.'); + msg('교육유형을 선택해주세요.'); } else if ($(this).parent().attr('id') == 'msSel3') { - alert('직무분야를 선택해주세요.'); + msg('직무분야를 선택해주세요.'); } else if ($(this).parent().attr('id') == 'msSel4') { - alert('교육목적을 선택해주세요.'); + msg('교육목적을 선택해주세요.'); } else if ($(this).parent().attr('id') == 'msSel5') { - alert('등급을 선택해주세요.'); + msg('등급을 선택해주세요.'); } } }); diff --git a/FO/Views/My/Document.cshtml b/FO/Views/My/Document.cshtml index 7ef162e..5f6b2fa 100644 --- a/FO/Views/My/Document.cshtml +++ b/FO/Views/My/Document.cshtml @@ -114,7 +114,7 @@ } else { - [요청] + [요청] } } } diff --git a/FO/Views/My/Lecture.cshtml b/FO/Views/My/Lecture.cshtml index f2c6d30..f377f09 100644 --- a/FO/Views/My/Lecture.cshtml +++ b/FO/Views/My/Lecture.cshtml @@ -264,14 +264,14 @@ var cmisno = $("input:radio[name=rdoScds]:checked").val(); var lectno = vLectno; if (cmisno == "" || cmisno == undefined || cmisno == null) { - alert("선택한 일정이 없습니다."); + msg("선택한 일정이 없습니다."); return; } capp("/focommon/UpdateScd", { cmisno: cmisno, lectno: lectno }, "scdSave"); } } function scdSave() { - alert(capResult.msg); + msg(capResult.msg); if (capResult.code == 1) { submit(); } diff --git a/FO/Views/My/MyInfoCheck.cshtml b/FO/Views/My/MyInfoCheck.cshtml index 47e24fb..419c13d 100644 --- a/FO/Views/My/MyInfoCheck.cshtml +++ b/FO/Views/My/MyInfoCheck.cshtml @@ -297,7 +297,7 @@ } function afterSnsLink() { if (capResult.code > 0) { - alert("SNS 연동을 해제하였습니다."); + msg("SNS 연동을 해제하였습니다."); location.href = "/My/MyinfoCheck"; } else { @@ -334,7 +334,7 @@ location.href = "/Account/SNSLinkCallback?jointype=3" }, fail: function (err) { - alert("카카오 아이디로 로그인에 실패했습니다."); + msg("카카오 아이디로 로그인에 실패했습니다."); console.log(JSON.stringify(err)) }, }) @@ -345,7 +345,7 @@ gauth.signIn().then(function () { location.href = "/Account/SNSLinkCallback?jointype=1" }, function () { - alert("구글 아이디로 로그인에 실패했습니다."); + msg("구글 아이디로 로그인에 실패했습니다."); return; }); } diff --git a/FO/Views/My/PayInfo.cshtml b/FO/Views/My/PayInfo.cshtml index 60607ed..566ae73 100644 --- a/FO/Views/My/PayInfo.cshtml +++ b/FO/Views/My/PayInfo.cshtml @@ -113,7 +113,7 @@ } else { -