作业匿评时:学生点击作业列表中“追加附件”,进入作品列表后要默认打开自己提交的作品且弹出追加附件的弹框
This commit is contained in:
parent
775ed19129
commit
49e8a6f1ff
|
@ -50,7 +50,7 @@
|
||||||
{
|
{
|
||||||
$("#homework_info_show").show();
|
$("#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 %>
|
<% if @message_student_work_id %>
|
||||||
<% work = @homework.student_works.where("id =?", @message_student_work_id).first %>
|
<% work = @homework.student_works.where("id =?", @message_student_work_id).first %>
|
||||||
<% else %>
|
<% else %>
|
||||||
|
|
Loading…
Reference in New Issue