diff --git a/src/main/java/nlib/user/web/UserInfoController.java b/src/main/java/nlib/user/web/UserInfoController.java index 34b35a73..695f8986 100644 --- a/src/main/java/nlib/user/web/UserInfoController.java +++ b/src/main/java/nlib/user/web/UserInfoController.java @@ -152,7 +152,7 @@ public class UserInfoController extends NlibCommonController { model.addAttribute("snsList",snsList); return "nlib/userInfo/putMyInfo"; }else { - model.addAttribute("msg","비밀번호가 일치하지않습니다."); + model.addAttribute("msg","비밀번호가 일치하지 않습니다."); model.addAttribute("url","/userInfo/pwCertMyInfo.do"); return "nlib/cmm/alert"; } diff --git a/src/main/webapp/WEB-INF/jsp/nlib/collection/listInterests.jsp b/src/main/webapp/WEB-INF/jsp/nlib/collection/listInterests.jsp index e491056a..f7ca3ae8 100644 --- a/src/main/webapp/WEB-INF/jsp/nlib/collection/listInterests.jsp +++ b/src/main/webapp/WEB-INF/jsp/nlib/collection/listInterests.jsp @@ -62,12 +62,20 @@ } function chkCount() { + var count = 0; $("input:checkbox[name = 'interestChk']").each(function() { if($(this).prop("checked") == false) { - $("#allChk").prop("checked", false); + $("#allChk").prop("checked", false); + count +=1; } }); + + if(count == 0) + { + $("#allChk").prop("checked", true); + } + $("#appCntMo").text($("input:checkbox[name=interestChk]:checked").length); } function deleteInterests(type,masterId){ diff --git a/src/main/webapp/WEB-INF/jsp/nlib/member/initPasswordFormPopup.jsp b/src/main/webapp/WEB-INF/jsp/nlib/member/initPasswordFormPopup.jsp index 0fd3368a..1f06698f 100644 --- a/src/main/webapp/WEB-INF/jsp/nlib/member/initPasswordFormPopup.jsp +++ b/src/main/webapp/WEB-INF/jsp/nlib/member/initPasswordFormPopup.jsp @@ -102,7 +102,7 @@ function fn_cancle() }
-
+ diff --git a/src/main/webapp/WEB-INF/jsp/nlib/member/insertMemberInfoForm.jsp b/src/main/webapp/WEB-INF/jsp/nlib/member/insertMemberInfoForm.jsp index 367d13a7..f65ea639 100644 --- a/src/main/webapp/WEB-INF/jsp/nlib/member/insertMemberInfoForm.jsp +++ b/src/main/webapp/WEB-INF/jsp/nlib/member/insertMemberInfoForm.jsp @@ -42,6 +42,9 @@ function birthSelectbox(){ var year = now.getFullYear(); var mon = now.getMonth() + 1 > 9 ? "" + (now.getMonth() + 1) : "0" + (now.getMonth() + 1); var day = now.getDate() > 9 ? "" + now.getDate() : "0" + now.getDate(); + $("#birth_yy").append(''); + $("#birth_mm").append(''); + $("#birth_dd").append(''); // 년도 for (var i = 1900; i <= year; i++) { $("#birth_yy").append('"); diff --git a/src/main/webapp/WEB-INF/jsp/nlib/userInfo/putMyInfo.jsp b/src/main/webapp/WEB-INF/jsp/nlib/userInfo/putMyInfo.jsp index aa84f379..29a75a7c 100644 --- a/src/main/webapp/WEB-INF/jsp/nlib/userInfo/putMyInfo.jsp +++ b/src/main/webapp/WEB-INF/jsp/nlib/userInfo/putMyInfo.jsp @@ -385,7 +385,7 @@ function certEmailCheck(){ $("[id^='emailVrfctNo']").css("display","none"); }else { - alert("인증번호가 일치하지않습니다."); + alert("인증번호가 일치하지 않습니다."); } } ,error : function(){ @@ -466,7 +466,7 @@ function certMobileCheck(){ $("[id^='mobileSuc']").css("display","inline-block"); $("[id^='mobileVrfctNo']").css("display","none"); }else{ - alert("인증번호가 일치하지않습니다."); + alert("인증번호가 일치하지 않습니다."); } },error : function(){ } diff --git a/src/main/webapp/js/default.js b/src/main/webapp/js/default.js index ea0655c3..43ee8a60 100644 --- a/src/main/webapp/js/default.js +++ b/src/main/webapp/js/default.js @@ -75,30 +75,6 @@ $(document).ready(function(){ $(".pop-login-password").fadeOut(); }); - // 회원가입 셀렉트박스 - function birthdaySelectBox() { - var now = new Date(); - var year = now.getFullYear(); - var mon = (now.getMonth() + 1) > 9 ? ''+(now.getMonth() + 1) : '0'+(now.getMonth() + 1); - var day = (now.getDate()) > 9 ? ''+(now.getDate()) : '0'+(now.getDate()); - // 년도 - for(var i = 1900 ; i <= year ; i++) { - $('#birth_yy').append(''); - } - - // 월별 - for(var i=1; i <= 12; i++) { - var mm = i > 9 ? i : "0"+i ; - $('#birth_mm').append(''); - } - - // 일별 - for(var i=1; i <= 31; i++) { - var dd = i > 9 ? i : "0"+i ; - $('#birth_dd').append(''); - } - }; - // 스크롤 탑 버튼 $(window).scroll(function () { var $window = $(window);