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"); } }