论坛字符允许扩大为20000个字符,超过两万个字符不允许提交

at_guange
lizanle 10 years ago
parent 1edd87f9e0
commit 2d321d2dbc

@ -76,7 +76,7 @@
$("#error").html("主题 过长(最长为 50 个字符)").show();
return false;
}
if(memo_content.html().trim().length > 20000){
if(memo_content.html().length > 20000){
$("#error").html("内容 过长(最长为 20000 个字符)").show();
return false;
}

Loading…
Cancel
Save