뷰 모드에서 닫기 버튼 활성화

This commit is contained in:
2026-02-09 14:00:01 +09:00
parent 5a1626f494
commit 2810a7b764

View File

@@ -60,6 +60,8 @@ $(document).ready(function(){
// 뷰 모드일 경우 입력 필드 비활성화
if(isViewMode){
$("#form1 input, #form1 textarea, #form1 select").prop("disabled", true);
// 닫기 버튼은 뷰 모드에서도 동작해야 하므로 다시 활성화
$("#btnClose").prop("disabled", false);
$("#btnSave, #btnUpload, #btnImgUpload, #file1, #imgFile1").hide();
$(".delete_btn").parent().hide();
} else {