Showing
2 changed files
with
2 additions
and
2 deletions
flask/templates/debug.log
0 → 100644
File mode changed
| ... | @@ -220,8 +220,8 @@ function submit() | ... | @@ -220,8 +220,8 @@ function submit() |
| 220 | if (data.status == "success"){ | 220 | if (data.status == "success"){ |
| 221 | alert("등록 성공"); | 221 | alert("등록 성공"); |
| 222 | } | 222 | } |
| 223 | - else{ | 223 | + else if (data.status == "already"){ |
| 224 | - alert("등록 실패"); | 224 | + alert("등록 실패: 이미 등록된 학번입니다. 학번을 변경해주세요."); |
| 225 | } | 225 | } |
| 226 | } | 226 | } |
| 227 | }) | 227 | }) | ... | ... |
-
Please register or login to post a comment