编辑的时候报500

tmp
lizanle 10 years ago
parent db0978c657
commit 2cf61ad74f

@ -128,8 +128,8 @@
$("#error").html("主题 过长(最长为 50 个字符)").show(); $("#error").html("主题 过长(最长为 50 个字符)").show();
return false; return false;
} }
if(memo_content.html().length > 30000){ if(memo_content.html().length > 20000){
$("#error").html("内容 过长(最长为 30000 个字符)").show(); $("#error").html("内容 过长(最长为 20000 个字符)").show();
$("html,body").animate({scrollTop:$("#error").offset().top},1000) $("html,body").animate({scrollTop:$("#error").offset().top},1000)
return false; return false;
} }

@ -7,8 +7,8 @@
$("#error").html('主题不能超过50个字符').show(); $("#error").html('主题不能超过50个字符').show();
return; return;
} }
if(memo_content.html().length > 30000){ if(memo_content.html().length > 20000){
$("#error").html("内容 过长(最长为 30000 个字符)").show(); $("#error").html("内容 过长(最长为 20000 个字符)").show();
$("html,body").animate({scrollTop:$("#error").offset().top},1000) $("html,body").animate({scrollTop:$("#error").offset().top},1000)
return false; return false;
} }

Loading…
Cancel
Save