미사용 코드 정리

This commit is contained in:
KNKIM 2021-09-17 11:12:28 +09:00
parent cbc5f23cca
commit 6258a55084
2 changed files with 1 additions and 28 deletions

View File

@ -1,27 +0,0 @@
let CONTEXT_PATH = "/nlib";
function login(){
const username = document.getElementById('username').value;
const password = document.getElementById('password').value;
let userInfo = {};
userInfo.username = username;
userInfo.password = password;
alert("going to send");
$.ajax({
type: "post",
/* url: "/login",*/
url: CONTEXT_PATH + "/login/login.do",
data: userInfo,
success: function(data) {
alert('성공');
console.log(data);
//location.href="/"
},
error: function(e){
alert('error!!');
}
});
}

View File

@ -6,7 +6,7 @@
* *
*/ */
var CONTEXT_PATH = "/nlib"; var CONTEXT_PATH = "";
// 팝업으로 비밀번호를 입력받아서 콜백함수에 전달한다. // 팝업으로 비밀번호를 입력받아서 콜백함수에 전달한다.
function fn_promptPassword(msg, placeholder, callbackFucName) { function fn_promptPassword(msg, placeholder, callbackFucName) {