课程讨论区限制改成20000

This commit is contained in:
huang 2016-03-18 13:39:28 +08:00
parent 8a8c9bf7c3
commit 51bd745b8d
4 changed files with 10 additions and 10 deletions

View File

@ -66,8 +66,8 @@ class CourseActivity < ActiveRecord::Base
# 发布新课导语
# 导语要放置在课程创建信息之后
# 导语
def add_course_lead
# 避免空数据迁移报错问题
if self.course_act_type == "Course" and Message.where("id=12440").any?
lead_message = Message.find(12440)
name = lead_message.subject

View File

@ -247,11 +247,11 @@ function regexTopicDescription()
function submit_topic()
{
if(regexTopicSubject() && regexTopicDescription())
{
// if(regexTopicSubject() && regexTopicDescription())
// {
message_content_editor.sync();
$("#message-form").submit();
}
// }
}
function reset_topic(){

View File

@ -3,11 +3,11 @@
*/
function submit_topic()
{
if(regexTopicSubject() && regexTopicDescription())
{
// if(regexTopicSubject() && regexTopicDescription())
// {
message_content_editor.sync();
$("#message-form").submit();
}
// }
}
function regexTopicSubject() {

View File

@ -618,11 +618,11 @@ function regexTopicDescription()
}
function submit_topic_project()
{
if(regexTopicSubject() && regexTopicDescription())
{
// if(regexTopicSubject() && regexTopicDescription())
// {
message_content_editor.sync();
$("#message-form-project").submit();
}
// }
}
function reset_topic(){