From 5e605fbbb292314c9e66cd9dbed2e70733eb05ab Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Fri, 7 Apr 2023 11:08:53 +0900 Subject: [PATCH] =?UTF-8?q?fix=20:=20=ED=83=AD=20=EC=98=A4=EB=A5=98=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/resources/biz/common/js/jqueryTabs.js | 11 +++-------- .../resources/framework/css/common/common-style.css | 1 - 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/src/main/webapp/resources/biz/common/js/jqueryTabs.js b/src/main/webapp/resources/biz/common/js/jqueryTabs.js index 79d4ad56..33f2e05a 100644 --- a/src/main/webapp/resources/biz/common/js/jqueryTabs.js +++ b/src/main/webapp/resources/biz/common/js/jqueryTabs.js @@ -10,13 +10,9 @@ function openMenu(menuId, menuNm, menuUrl) { if(iframeMap[menuId]){ // 해당 tab 활성화 - - // 해당 메뉴 iframe만 활성화 - $("#ifrTabs").find("iframe").each((idx, data) => { - if(data.id == menuId) { - - $("div#ifrTabs ul li button.nav-link").eq(parseInt(data.dataset.tabIndex)).trigger("click"); - + $("#ifrTabs").find("ul li button.nav-link").each((idx, data) => { + if(data.dataset.bsTarget == ("#tab-"+menuId)) { + $(data).trigger("click"); return false; } }); @@ -50,7 +46,6 @@ function openMenu(menuId, menuNm, menuUrl) { $iframe.attr("id" , menuId) .attr("name" , menuNm) .attr("title" , menuNm) - .attr("data-tab-index", num_tabs - 1) .attr("frameborder" , "0") .attr("scrolling" , "no") .attr("width" , "100%") diff --git a/src/main/webapp/resources/framework/css/common/common-style.css b/src/main/webapp/resources/framework/css/common/common-style.css index b4860aef..3bce5515 100644 --- a/src/main/webapp/resources/framework/css/common/common-style.css +++ b/src/main/webapp/resources/framework/css/common/common-style.css @@ -365,7 +365,6 @@ img.ui-datepicker-trigger { padding: 8px 14px; max-height: 30px; vertical-align: top; - /* background-color: #65788e; *//*2020.09.21 박소영 주석처리*/ color: #fff; } .btn.xs {