1'use strict'; 2 3$(function(){ 4 5 var refNum; 6 var authCode; 7 var bizNo; 8 9 initData(); 10 initEvent(); 11 12 function initData() { 13// lanChange(); 14 } 15 16 function initEvent() { 17 $(document).off('click', '.closeIssue').on('click', '.closeIssue', function(){ 18 if (globalLocale === "ENG") { 19 $.layerAlert("Certificate issuance has been canceled."); 20 } else { 21 $.layerAlert("ì¸ì¦ì ë°ê¸ì ì·¨ìíììµëë¤."); 22 } 23 $.closeLayer("layerIssue"); 24 const focusedElement = $('.btnThree').data('focusedElement'); 25 if(focusedElement){ 26 $(focusedElement).focus(); 27 } 28 }) 29 30// $(".closeIssue").off().on("click", function(){ 31// if (globalLocale === "ENG") { 32// $.layerAlert("Certificate issuance has been canceled."); 33// } else { 34// $.layerAlert("ì¸ì¦ì ë°ê¸ì ì·¨ìíììµëë¤."); 35// } 36// 37// $('#refNumCorp').val(""); $('#authCodeCorp').val(""); $('#bizNoCorp').val(""); 38// $.closeLayer("layerIssueCorp"); 39// }); 40 41 $(".btn-ppup-next-corp").off().on("click", function(){ 42 refNum = ""; 43 authCode = ""; 44 45 // 2023.07 ìë¬ ë©ìì§ ë¶ë¦¬ 46 if($('#refNumCorp').val() == "") { 47 if (globalLocale === "ENG") { 48 $.layerAlert("Please enter reference number.", null, function() { 49 $('#refNumCorp').focus(); 50 }); 51 } else { 52 $.layerAlert("참조ë²í¸ë¥¼ ì ë ¥íì¸ì.", null, function() { 53 $('#refNumCorp').focus(); 54 }); 55 } 56 return; 57 } 58 59 if($('#authCodeCorp').val() == "") { 60 if (globalLocale === "ENG") { 61 $.layerAlert("Please enter authorization code.", null, function() { 62 $('#authCodeCorp').focus(); 63 }); 64 } else { 65 $.layerAlert("ì¸ê°ì½ë를 ì ë ¥íì¸ì.", null, function() { 66 $('#authCodeCorp').focus(); 67 }); 68 } 69 return; 70 } 71 72 let reBizNo = /^[0-9]{10}$/; 73 if (reBizNo.test($('#bizNoCorp').val()) == false) { 74 if (globalLocale === "ENG") { 75 $.layerAlert("Please enter business number as a 10 digit number.", null, function() { 76 $('#bizNoCorp').focus(); 77 }); 78 } else { 79 $.layerAlert("ì¬ì ìë±ë¡ë²í¸ë¥¼ ì«ì 10ìë¦¬ë¡ ì ë ¥íì¸ì.", null, function() { 80 $('#bizNoCorp').focus(); 81 }); 82 } 83 return; 84 } 85 86 refNum = $('#refNumCorp').val(); 87 authCode = $('#authCodeCorp').val(); 88 bizNo = $('#bizNoCorp').val(); 89 90 $('#refNumCorp').val(""); 91 $('#authCodeCorp').val(""); 92 $('#bizNoCorp').val(""); 93 94 $.closeLayer("layerIssueCorp"); 95 issueFinCertCorp(); 96 }); 97 } 98 99 function issueFinCertCorp() { 100 var success = function() { 101 if (globalLocale === "ENG") { 102 $.layerAlert("Certificate issuance/reissuance success."); 103 } else { 104 $.layerAlert("ì¸ì¦ì ë°ê¸/ì¬ë°ê¸ ì±ê³µ."); 105 } 106 } 107 108 var fail = function() { 109 if (globalLocale === "ENG") { 110 $.layerAlert("Certificate issuance/reissuance failed."); 111 } else { 112 $.layerAlert("ì¸ì¦ì ë°ê¸/ì¬ë°ê¸ ì¤í¨."); 113 } 114 } 115 116 issueFinCorpCert(refNum, authCode, bizNo, success, fail); 117 } 118 119})
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.