项目讨论区发帖时 标题为空 内容为空给出提示
This commit is contained in:
parent
3778871f58
commit
61fe0fc77c
|
@ -607,11 +607,11 @@ function regexTopicDescription()
|
|||
$("#message_content_span").css('color','#ff0000');
|
||||
return false;
|
||||
}
|
||||
else if(name.length >=6000){
|
||||
$("#message_content_span").text("描述最多3000个汉字(或6000个英文字符)");
|
||||
$("#message_content_span").css('color','#ff0000');
|
||||
return false;
|
||||
}
|
||||
// else if(name.length >=6000){
|
||||
// $("#message_content_span").text("描述最多3000个汉字(或6000个英文字符)");
|
||||
// $("#message_content_span").css('color','#ff0000');
|
||||
// return false;
|
||||
// }
|
||||
else
|
||||
{
|
||||
$("#message_content_span").text("填写正确");
|
||||
|
@ -621,11 +621,11 @@ function regexTopicDescription()
|
|||
}
|
||||
function submit_topic_project()
|
||||
{
|
||||
// if(regexTopicSubject() && regexTopicDescription())
|
||||
// {
|
||||
if(regexTopicSubject() && regexTopicDescription())
|
||||
{
|
||||
message_content_editor.sync();
|
||||
$("#message-form-project").submit();
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
function reset_topic(){
|
||||
|
|
Loading…
Reference in New Issue