From 46f558a6dc28a0b3475cb7fde74cea555f1d570a Mon Sep 17 00:00:00 2001 From: TaehunPark Date: Mon, 30 Jan 2023 11:01:50 +0900 Subject: [PATCH] =?UTF-8?q?fix=20:=20asf=EB=B0=8F=20=EC=BD=94=EB=A1=9C?= =?UTF-8?q?=EB=82=9819=20=EA=B4=80=EB=A0=A8=EC=A1=B0=EC=B9=98=ED=98=84?= =?UTF-8?q?=ED=99=A9=20=EC=88=98=EC=A0=95=EC=82=AC=ED=95=AD=2042,43=20?= =?UTF-8?q?=EC=88=98=EC=A0=95=EC=99=84=EB=A3=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/static/js/faStatistics/asfCov.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/resources/static/js/faStatistics/asfCov.js b/src/main/resources/static/js/faStatistics/asfCov.js index 2afc922a..ac5b55ef 100644 --- a/src/main/resources/static/js/faStatistics/asfCov.js +++ b/src/main/resources/static/js/faStatistics/asfCov.js @@ -1,6 +1,7 @@ $(document).on('change', '#pressurizedYn', function (){ - if($("#pressurizedYn").val() == 'N'){ + if($("#pressurizedYn").val() == 'Y'){ $("#pressurizedN").attr("disabled",true); + $("#pressurizedN").val(""); }else{ $("#pressurizedN").removeAttr("disabled"); } @@ -118,7 +119,7 @@ function getEditModal(asfCovKey){ $("#asfCovEditModalContent").empty().append(html); $("#asfCovEditModal").modal('show'); $("#editContent").empty().append(html); - if($("#pressurizedYn").val() == 'N'){ + if($("#pressurizedYn").val() == 'Y'){ $("#pressurizedN").attr("disabled",true); }else{ $("#pressurizedN").removeAttr("disabled");