This commit is contained in:
parent
537560654f
commit
c8eb0c9fa6
|
@ -21,8 +21,7 @@
|
|||
:minHeight=>500,
|
||||
:class => 'talk_text fl',
|
||||
:input_html => { :id => 'message_content',
|
||||
:class => 'talk_text fl',
|
||||
:maxlength => 20000 }%>
|
||||
:class => 'talk_text fl'}%>
|
||||
<div class="cl"></div>
|
||||
<p id="message_content_span"></p>
|
||||
<p id="e_tip" class="c_grey"></p>
|
||||
|
|
|
@ -40,8 +40,8 @@ function regexTopicDescription()
|
|||
$("#message_content_span").css('color','#ff0000');
|
||||
return false;
|
||||
}
|
||||
else if(name.length >=20000){
|
||||
$("#message_content_span").text("描述最多20000个汉字(或40000个英文字符)");
|
||||
else if(name.length >=60000){
|
||||
$("#message_content_span").text("描述最多60000个汉字(或120000个英文字符)");
|
||||
$("#message_content_span").css('color','#ff0000');
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue