|
|
|
@ -605,11 +605,13 @@ function regexTopicDescription()
|
|
|
|
|
{
|
|
|
|
|
$("#message_content_span").text("描述不能为空");
|
|
|
|
|
$("#message_content_span").css('color','#ff0000');
|
|
|
|
|
$("#message_content_span").focus();
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
else if(name.length >=6000){
|
|
|
|
|
$("#message_content_span").text("描述最多3000个汉字(或6000个英文字符)");
|
|
|
|
|
$("#message_content_span").css('color','#ff0000');
|
|
|
|
|
$("#message_content_span").focus();
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
@ -618,14 +620,15 @@ function regexTopicDescription()
|
|
|
|
|
$("#message_content_span").css('color','#008000');
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
function submit_topic_project()
|
|
|
|
|
{
|
|
|
|
|
// if(regexTopicSubject() && regexTopicDescription())
|
|
|
|
|
// {
|
|
|
|
|
if(regexTopicSubject() && regexTopicDescription())
|
|
|
|
|
{
|
|
|
|
|
message_content_editor.sync();
|
|
|
|
|
$("#message-form-project").submit();
|
|
|
|
|
// }
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function reset_topic(){
|
|
|
|
|