|
|
|
@ -34,7 +34,7 @@ function submit_article()
|
|
|
|
|
function regexTopicDescription()
|
|
|
|
|
{
|
|
|
|
|
var name = message_content_editor.html();
|
|
|
|
|
if(name.length ==0)
|
|
|
|
|
if(message_content_editor.isEmpty())
|
|
|
|
|
{
|
|
|
|
|
$("#message_content_span").text("描述不能为空");
|
|
|
|
|
$("#message_content_span").css('color','#ff0000');
|
|
|
|
@ -55,7 +55,7 @@ function regexTopicDescription()
|
|
|
|
|
|
|
|
|
|
function MessageReplayVevify() {
|
|
|
|
|
var content = message_content_editor.html();//$.trim($("#message_content").val());
|
|
|
|
|
if (content.length == 0) {
|
|
|
|
|
if (message_content_editor.isEmpty()) {
|
|
|
|
|
$("#message_content_span").text("回复不能为空");
|
|
|
|
|
$("#message_content_span").css('color', '#ff0000');
|
|
|
|
|
return false;
|
|
|
|
|