From 2706c902c1cd598df06bb903970b3dd41c57a216 Mon Sep 17 00:00:00 2001 From: Suh Date: Mon, 8 Jan 2024 12:34:51 +0900 Subject: [PATCH] =?UTF-8?q?authority=5Flist=5Fdev.html=20=EA=B2=80?= =?UTF-8?q?=EC=83=89=20=EC=B0=BD=20=EC=A0=84=ED=99=98=EA=B8=B0=EB=8A=A5=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../static/dev/authority_list_dev.html | 23 +++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/src/main/resources/static/dev/authority_list_dev.html b/src/main/resources/static/dev/authority_list_dev.html index e33e3f7..1758653 100644 --- a/src/main/resources/static/dev/authority_list_dev.html +++ b/src/main/resources/static/dev/authority_list_dev.html @@ -186,9 +186,20 @@ } */ $(function() { + $("#div_personal_search").hide(); $("#search_btn").on("click", function () { $("select[name='search_select'] option:selected").val(); }); + $(".nav-item button").on("click", function(obj){ + const selectedButtonId = $(obj.currentTarget).attr('id'); + if(selectedButtonId === 'home-tab'){ + $("#div_group_search").show(); + $("#div_personal_search").hide(); + }else{ + $("#div_group_search").hide(); + $("#div_personal_search").show(); + } + }); });
@@ -209,22 +220,26 @@
+