Skip to content

Commit

Permalink
이메일 형식이 맞지 않으면 서버로 요청이 가지않도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ppiyakk2 committed Dec 31, 2016
1 parent 618ac39 commit 2aabc89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/webapp/assets/js/visitorbook.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ function write_article() {

if(!ValidateEmail(email)) {
alert("이메일 형식이 올바르지 않습니다.");
return;
}
var req_body = {'content': content, 'email': email, 'passwd': passwd};

Expand Down

0 comments on commit 2aabc89

Please sign in to comment.