submit 후 다시 submit 되지 않도록 btn_submit 을 disabled 로

This commit is contained in:
gnuboard
2013-05-29 11:19:10 +09:00
parent eb46ea069b
commit 6315c80682
4 changed files with 6 additions and 19 deletions

View File

@ -168,16 +168,6 @@ var char_max = parseInt(<?php echo $comment_max ?>); // 최대
f.is_good.value = 0;
/*
var s;
if (s = word_filter_check(document.getElementById('wr_content').value))
{
alert("내용에 금지단어('"+s+"')가 포함되어있습니다");
document.getElementById('wr_content').focus();
return false;
}
*/
var subject = "";
var content = "";
$.ajax({
@ -249,6 +239,8 @@ var char_max = parseInt(<?php echo $comment_max ?>); // 최대
<?php if($is_guest) echo chk_captcha_js(); ?>
document.getElementById("btn_submit").disabled = "disabled";
return true;
}