修复 提示“贴吧名称已经存在”,实际又新建成功了 bug app/views/forums/index.html.erb

liuyizhou
liuyizhou 9 years ago committed by louant
parent 0ed26310e3
commit 9a7b32c935

@ -76,7 +76,7 @@
});
function check_and_submit(doc){
$("#error").html("").hide();
// check_forum_name();
// check_forum_name();
if( $("textarea[name='forum[name]']").val().trim() == "" && $("textarea[name='forum[description]']").val().trim() != "" ){
$("#error").html("名称不能为空").show();
return;

Loading…
Cancel
Save