1async function logSubmit(e) { 2 e.preventDefault(); 3 4 const Form = e.target; 5 const errMsg = document.getElementById("errMsg"); 6 7 // ì¤ë¥ ë©ìì§ ì´ê¸°í 8 clearAllerror(); 9 10 if (chkFrm(Form)) { 11 let formData = new FormData(Form); 12 13 // FCM í í° ê°ì ¸ì¤ê¸° 14 if (document.getElementById("pageMode").value == "L") { 15 const fcmToken = await getFcmToken(); 16 if (fcmToken) { 17 formData.append('fcmToken', fcmToken); 18 } 19 } 20 21 // í¼ ë°ì´í° ì ì¡ 22 try { 23 const response = await fetch('/_userController/getLoginAction', { 24 method: 'POST', 25 body: formData 26 }); 27 28 const data = await response.json(); 29 if (data.st === true) { 30 31 if (data.passwordReset) { 32 alert(data.msg); 33 } 34 location.href = data.actionUrl; 35 36 } else { 37 showError(errMsg, data.msg); 38 } 39 } catch (error) { 40 console.error('Error:', error); 41 alert("ì²ë¦¬ì¤ ì¤ë¥ê° ë°ìíìµëë¤"); 42 } 43 } 44} 45 46const loginForm = document.getElementById("loginForm"); 47if (loginForm) { 48 loginForm.addEventListener("submit", logSubmit); 49} 50 51const idFindForm = document.getElementById("idFindForm"); 52if (idFindForm) { 53 idFindForm.addEventListener("submit", logSubmit); 54} 55 56const pwFindForm = document.getElementById("pwFindForm"); 57if (pwFindForm) { 58 pwFindForm.addEventListener("submit", logSubmit); 59} 60 61const inputs = document.querySelectorAll('.form-control'); 62if (inputs) { 63 inputs.forEach(input => { 64 input.addEventListener('input', function() { 65 clearError(input); 66 }); 67 }); 68} 69
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.