문자전송, 선거문자 주소록에 등록 기능 오류 수정

- 받는사람에 핸드폰 번호만 입력한 경우 이름 체크에서 오류가 발생하여 수정하였음
This commit is contained in:
rosewiper 2023-12-20 16:33:24 +09:00
parent 7615729bf7
commit d45da58138
2 changed files with 14 additions and 2 deletions

View File

@ -2177,9 +2177,15 @@ $('.registAddr').click(function(){
}
nameList[i] = name.replaceAll(",","§");
phoneNum[i] = phone;
if(name == "" || name == null){
nameList[i] = "";
}else{
nameList[i] = name.replaceAll(",","§");
}
if(rep1 == "" || rep1 == null){
rep1List[i] = "-";
}else{

View File

@ -2439,9 +2439,15 @@ $('.registAddr').click(function(){
}
nameList[i] = name.replaceAll(",","§");
phoneNum[i] = phone;
if(name == "" || name == null){
nameList[i] = "";
}else{
nameList[i] = name.replaceAll(",","§");
}
if(rep1 == "" || rep1 == null){
rep1List[i] = "-";
}else{