인증키 신청 프로세스 수정

This commit is contained in:
현성필
2025-12-04 16:19:49 +09:00
parent 43a1edad92
commit 5965404e4f
2 changed files with 5 additions and 10 deletions
@@ -711,13 +711,11 @@
// Form validation // Form validation
form.addEventListener('submit', function(e) { form.addEventListener('submit', function(e) {
// Allow submission even without selected APIs (user might want to remove all) // API 선택 필수 검증
// But show confirmation
if (selectedApis.size === 0) { if (selectedApis.size === 0) {
if (!confirm('API를 선택하지 않으셨습니다. 계속하시겠습니까?')) { e.preventDefault();
e.preventDefault(); customPopups.showAlert('최소 1개 이상의 API를 선택해주세요.');
return false; return false;
}
} }
}); });
@@ -657,10 +657,7 @@
form.addEventListener('submit', function(e) { form.addEventListener('submit', function(e) {
if (selectedApis.size === 0) { if (selectedApis.size === 0) {
e.preventDefault(); e.preventDefault();
if (confirm('API를 선택하지 않으셨습니다. 나중에 추가하시겠습니까?')) { customPopups.showAlert('최소 1개 이상의 API를 선택해주세요.');
// Allow form submission without selected APIs
form.submit();
}
return false; return false;
} }