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