作业匿评时:学生点击作业列表中“追加附件”,进入作品列表后要默认打开自己提交的作品且弹出追加附件的弹框

This commit is contained in:
cxt 2016-09-07 15:45:12 +08:00
parent 775ed19129
commit 49e8a6f1ff
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@
{
$("#homework_info_show").show();
}
<% if !@is_evaluation && (!@is_teacher || params[:show_work_id].present?) || @message_student_work_id %>
<% if !@is_evaluation && (!@is_teacher || params[:show_work_id].present?) || @message_student_work_id || (@is_evaluation && @is_focus == 1) %>
<% if @message_student_work_id %>
<% work = @homework.student_works.where("id =?", @message_student_work_id).first %>
<% else %>