From 7e4c17bb0a720b8119a314de2928464bce2483af Mon Sep 17 00:00:00 2001 From: KNKIM Date: Wed, 17 Nov 2021 15:24:12 +0900 Subject: [PATCH] =?UTF-8?q?=EC=95=8C=EB=A6=BC=20=EA=B8=B0=EB=8A=A5=20?= =?UTF-8?q?=EA=B0=9C=EC=84=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/WEB-INF/jsp/nlib/cmm/home.jsp | 2 +- src/main/webapp/WEB-INF/jsp/nlib/cmm/listNotifications.jsp | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/nlib/cmm/home.jsp b/src/main/webapp/WEB-INF/jsp/nlib/cmm/home.jsp index 679d1c91..769e57db 100644 --- a/src/main/webapp/WEB-INF/jsp/nlib/cmm/home.jsp +++ b/src/main/webapp/WEB-INF/jsp/nlib/cmm/home.jsp @@ -10,7 +10,7 @@ $(document).ready(function() { $("#DIV_PAGE_MAIN").removeClass("sub"); var unreadNotiCnt = $(".noti-btn span.count").text(); - fn_myAlert(unreadNotiCnt); + gfn_myAlert(unreadNotiCnt); }); function fn_search(keyword) { diff --git a/src/main/webapp/WEB-INF/jsp/nlib/cmm/listNotifications.jsp b/src/main/webapp/WEB-INF/jsp/nlib/cmm/listNotifications.jsp index 7de2541a..abec86b1 100644 --- a/src/main/webapp/WEB-INF/jsp/nlib/cmm/listNotifications.jsp +++ b/src/main/webapp/WEB-INF/jsp/nlib/cmm/listNotifications.jsp @@ -90,6 +90,8 @@ $( document ).ready(function() { $('.list-accordion .question').removeClass('on'); $qObj.addClass('on'); + + $qObj.find("span unread").remove(); }); } @@ -156,7 +158,7 @@ $( document ).ready(function() { else li.find(".question").append($('').attr("class", "type").html("[소장자료관]")); var unread = ""; - if(obj.readYn != "Y") unread = " (미확인)"; + if(obj.readYn != "Y") unread = " (미확인)"; li.find(".question").append($('').html(obj.title + unread)); li.find(".question").append($('').attr('class', 'date').html(obj.regDd)); li.append($('
').attr('class', 'answer').attr('style', 'display: none;'));