From fd3da428ab066458e29161a20353c769e5344cf9 Mon Sep 17 00:00:00 2001 From: taekyoungc Date: Sat, 13 Jun 2026 22:56:29 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EB=A1=9C=EA=B3=A0=20=ED=81=B4=EB=A6=AD?= =?UTF-8?q?=20=EC=8B=9C=20=EC=97=85=EB=AC=B4=20=ED=98=84=ED=99=A9=20?= =?UTF-8?q?=EB=8C=80=EC=8B=9C=EB=B3=B4=EB=93=9C=EB=A1=9C=20=EC=9D=B4?= =?UTF-8?q?=EB=8F=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 관리자 레이아웃 로고 링크 admin → / (업무 현황) - 워크스페이스 내 로고 클릭은 전체 새로고침 대신 1분할로 전환 후 업무 현황 탭 열기/포커스 Co-Authored-By: Claude Opus 4.8 --- app/Views/admin/layout.php | 2 +- app/Views/bag/layout/workspace.php | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/app/Views/admin/layout.php b/app/Views/admin/layout.php index 54454ff..54894cc 100644 --- a/app/Views/admin/layout.php +++ b/app/Views/admin/layout.php @@ -102,7 +102,7 @@ tailwind.config = {
- base_url('admin')]) ?> + base_url('/')]) ?>
diff --git a/app/Views/bag/layout/workspace.php b/app/Views/bag/layout/workspace.php index 1efe3f9..30ae5a1 100644 --- a/app/Views/bag/layout/workspace.php +++ b/app/Views/bag/layout/workspace.php @@ -374,6 +374,14 @@ if ($effectiveLgIdx) { var closeAllBtn = document.getElementById('wsCloseAll'); if (closeAllBtn) closeAllBtn.addEventListener('click', closeAllTabs); + // 로고 클릭 → 전체 새로고침 대신 "업무 현황" 탭을 열고(1분할) 포커스 + var brandLink = document.querySelector('.gov-portal-brand'); + if (brandLink) brandLink.addEventListener('click', function (e) { + e.preventDefault(); + if (layout !== 'single') setLayout('single'); + openTab(DASH_URL, '업무 현황'); + }); + function reloadTab(id) { var t = tabs[id]; if (!t) return;