组织编辑文章无法提交

This commit is contained in:
cxt 2016-03-25 20:10:53 +08:00
parent e764075bd6
commit 35faa12d4d
1 changed files with 2 additions and 0 deletions

View File

@ -12,10 +12,12 @@
if($("#document_title").val().trim() == "") if($("#document_title").val().trim() == "")
{ {
$("#doc_title_hint").html("<span class='c_red'>标题不能为空</span>").show(); $("#doc_title_hint").html("<span class='c_red'>标题不能为空</span>").show();
return false;
} }
else else
{ {
$("#doc_title_hint").hide(); $("#doc_title_hint").hide();
return true;
} }
} }
</script> </script>