课程不存在的时候的提示

This commit is contained in:
lizanle 2015-10-24 11:19:11 +08:00
parent 389792bd11
commit 69d5f8b97b
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
<% if @object_id && @state != 6%>
<% if @object_id && @state != 6 && @state !=4 %>
$("#join_in_course_header").html("<%= escape_javascript(join_in_course_header(@course, @user)) %>");
<% end %>
<% if @state %>