课程讨论区限制改成20000
This commit is contained in:
parent
8a8c9bf7c3
commit
51bd745b8d
|
@ -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
|
||||
|
|
|
@ -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(){
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
*/
|
||||
function submit_topic()
|
||||
{
|
||||
if(regexTopicSubject() && regexTopicDescription())
|
||||
{
|
||||
// if(regexTopicSubject() && regexTopicDescription())
|
||||
// {
|
||||
message_content_editor.sync();
|
||||
$("#message-form").submit();
|
||||
}
|
||||
// }
|
||||
}
|
||||
|
||||
function regexTopicSubject() {
|
||||
|
|
|
@ -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(){
|
||||
|
|
Loading…
Reference in New Issue