diff --git a/src/main/webapp/WEB-INF/jsp/web/kccadr/accdnt/ars/tab/adjstCloseTabDetail.jsp b/src/main/webapp/WEB-INF/jsp/web/kccadr/accdnt/ars/tab/adjstCloseTabDetail.jsp index 8ff32541..13c38efc 100644 --- a/src/main/webapp/WEB-INF/jsp/web/kccadr/accdnt/ars/tab/adjstCloseTabDetail.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/kccadr/accdnt/ars/tab/adjstCloseTabDetail.jsp @@ -49,21 +49,22 @@ linkForm.action = ""; linkForm.submit(); } - - $(".btn_all").click(function() { - /* var btnIdx = $(".btn_all").index(this); */ - var text = $(this).parent().children(".change_text_wrap"); - if (text.is(".close") == true) { - text.removeClass("close"); - $(this).addClass("close"); - $(this).text("닫기"); - $(this).attr("title", "내용 일부만 보이기"); - } else { - text.addClass("close"); - $(this).removeClass("close"); - $(this).text("더보기"); - $(this).attr("title", "내용 전체보기"); - } + $(document).on(function() { + $(".btn_all").click(function() { + /* var btnIdx = $(".btn_all").index(this); */ + var text = $(this).parent().children(".change_text_wrap"); + if (text.is(".close") == true) { + text.removeClass("close"); + $(this).addClass("close"); + $(this).text("닫기"); + $(this).attr("title", "내용 일부만 보이기"); + } else { + text.addClass("close"); + $(this).removeClass("close"); + $(this).text("더보기"); + $(this).attr("title", "내용 전체보기"); + } + }); }); //접수증 팝업 diff --git a/src/main/webapp/WEB-INF/jsp/web/kccadr/accdnt/ars/tab/adjstReqStatusTabDetail.jsp b/src/main/webapp/WEB-INF/jsp/web/kccadr/accdnt/ars/tab/adjstReqStatusTabDetail.jsp index 117f3974..cf7e2dc5 100644 --- a/src/main/webapp/WEB-INF/jsp/web/kccadr/accdnt/ars/tab/adjstReqStatusTabDetail.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/kccadr/accdnt/ars/tab/adjstReqStatusTabDetail.jsp @@ -61,21 +61,23 @@ linkForm.action = ""; linkForm.submit(); } - - $(".btn_all").click(function() { - /* var btnIdx = $(".btn_all").index(this); */ - var text = $(this).parent().children(".change_text_wrap"); - if (text.is(".close") == true) { - text.removeClass("close"); - $(this).addClass("close"); - $(this).text("닫기"); - $(this).attr("title", "내용 일부만 보이기"); - } else { - text.addClass("close"); - $(this).removeClass("close"); - $(this).text("더보기"); - $(this).attr("title", "내용 전체보기"); - } + + $(document).on(function() { + $(".btn_all").click(function() { + /* var btnIdx = $(".btn_all").index(this); */ + var text = $(this).parent("td").children(".change_text_wrap"); + if (text.is(".close") == true) { + text.removeClass("close"); + $(this).addClass("close"); + $(this).text("닫기"); + $(this).attr("title", "내용 일부만 보이기"); + } else { + text.addClass("close"); + $(this).removeClass("close"); + $(this).text("더보기"); + $(this).attr("title", "내용 전체보기"); + } + }); }); //접수증 팝업 diff --git a/src/main/webapp/WEB-INF/jsp/web/kccadr/adjstExpDetail/adjstReqStatusTabDetail.jsp b/src/main/webapp/WEB-INF/jsp/web/kccadr/adjstExpDetail/adjstReqStatusTabDetail.jsp index 32622147..35fb4808 100644 --- a/src/main/webapp/WEB-INF/jsp/web/kccadr/adjstExpDetail/adjstReqStatusTabDetail.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/kccadr/adjstExpDetail/adjstReqStatusTabDetail.jsp @@ -81,22 +81,7 @@ linkForm.action = ""; linkForm.submit(); } - - $(".btn_all").click(function() { - /* var btnIdx = $(".btn_all").index(this); */ - var text = $(this).parent().children(".change_text_wrap"); - if (text.is(".close") == true) { - text.removeClass("close"); - $(this).addClass("close"); - $(this).text("닫기"); - $(this).attr("title", "내용 일부만 보이기"); - } else { - text.addClass("close"); - $(this).removeClass("close"); - $(this).text("더보기"); - $(this).attr("title", "내용 전체보기"); - } - }); + /* $('.step').click(function(){ @@ -131,6 +116,22 @@ $("#stepBtn"+activeStep).show(); } + + $(".btn_all").click(function() { + /* var btnIdx = $(".btn_all").index(this); */ + var text = $(this).parent().children(".change_text_wrap"); + if (text.is(".close") == true) { + text.removeClass("close"); + $(this).addClass("close"); + $(this).text("닫기"); + $(this).attr("title", "내용 일부만 보이기"); + } else { + text.addClass("close"); + $(this).removeClass("close"); + $(this).text("더보기"); + $(this).attr("title", "내용 전체보기"); + } + }); });