From 4ca04a6a71f578e0f7799e933cb9fc2e241beaf1 Mon Sep 17 00:00:00 2001 From: JoJH Date: Wed, 13 Nov 2024 18:20:30 +0900 Subject: [PATCH] =?UTF-8?q?1.=20=EB=8B=A8=EC=86=8D=20=EC=82=AC=EC=A7=84?= =?UTF-8?q?=EC=97=90=20=EB=B2=84=ED=8A=BC=20=ED=99=9C=EC=84=B1=ED=99=94=20?= =?UTF-8?q?=EB=B6=80=EB=B6=84=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/resources/js/fims/photo-main.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/main/webapp/resources/js/fims/photo-main.js b/src/main/webapp/resources/js/fims/photo-main.js index a35ba6dc..ef6f23a4 100644 --- a/src/main/webapp/resources/js/fims/photo-main.js +++ b/src/main/webapp/resources/js/fims/photo-main.js @@ -295,7 +295,7 @@ function settingPhotoMain(pageName, crdnIdElement, carInfoFunc, carLinkFunc){ } } -function initPhotoMain(pageName, fileList, existVideo){ +function initPhotoMain(pageName, fileList, existVideo, showBtn=true){ let $P = pageObject[pageName]; @@ -305,9 +305,10 @@ function initPhotoMain(pageName, fileList, existVideo){ } else { $P.$findn("btnOpenVideoCapture").hide(); } - - // 렌트업무에서는 버튼을 숨긴다. - if (pageName == "rent02020" || pageName == "rent03020") { + // 버튼 div를 숨긴다. + if (showBtn) { + $P.$findn("divBtn").show(); + } else { $P.$findn("divBtn").hide(); }