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() }