From 917e36e78cc7f5501bcc8784189d35b1ffd7ab92 Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Fri, 29 Dec 2023 09:22:56 +0900 Subject: [PATCH] =?UTF-8?q?=ED=83=AD=20=ED=99=9C=EC=84=B1=ED=99=94=20?= =?UTF-8?q?=ED=95=A8=EC=88=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc05010-main.jsp | 2 +- src/main/webapp/resources/js/base/menu-support-fims.js | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc05010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc05010-main.jsp index 330377b1..5a25c261 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc05010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc05010-main.jsp @@ -360,7 +360,7 @@ $(document).ready(function(){ } $P.fnReset = () => { - $('#btnAnsBasicTab--${pageName}').trigger("click"); + $('#btnAnsBasicTab--${pageName}').tab("show"); $P.ansBodyControl.levy.setData([]); $P.ansBodyControl.warning.setData([]); $P.ansBodyControl.nonlevy.setData([]); diff --git a/src/main/webapp/resources/js/base/menu-support-fims.js b/src/main/webapp/resources/js/base/menu-support-fims.js index 9cb6f4bf..6886efcf 100644 --- a/src/main/webapp/resources/js/base/menu-support-fims.js +++ b/src/main/webapp/resources/js/base/menu-support-fims.js @@ -76,7 +76,7 @@ function openMenu(obj, params) { // 해당 tab 활성화 $("#tabsForInnerPage").find("ul li button.nav-link").each((idx, data) => { if(data.dataset.bsTarget == ("#tab-"+dataKey)) { - $(data).trigger("click"); + $(data).tab("show"); } }); return; @@ -140,7 +140,7 @@ function openMenu(obj, params) { - $("div#tabsForInnerPage ul li button.nav-link").last().trigger("click"); + $("div#tabsForInnerPage ul li button.nav-link").last().tab("show"); } @@ -161,9 +161,9 @@ function closeTab(menuId) { if(selIdx === activeIdx) { if (num_tabs - 1 > activeIdx) { - $('div#tabsForInnerPage ul li button.nav-link').eq(activeIdx + 1).trigger("click"); + $('div#tabsForInnerPage ul li button.nav-link').eq(activeIdx + 1).tab("show"); } else { - $('div#tabsForInnerPage ul li button.nav-link').eq(activeIdx - 1).trigger("click"); + $('div#tabsForInnerPage ul li button.nav-link').eq(activeIdx - 1).tab("show"); } }