班级作业:老师或助教同意申诉后,作品列表中“同意/拒绝”、“申诉中”、分数没有自动刷新

This commit is contained in:
cxt 2016-12-17 16:26:06 +08:00
parent 369514bcc6
commit 4755294743
1 changed files with 1 additions and 0 deletions

View File

@ -1,5 +1,6 @@
hideModal();
<% if params[:status].to_i == 3 %>
var num = $("#work_num_<%= @work.id%>").html();
<% score_open = @is_teacher || @homework.score_open == 1 || @work.user == User.current %>
<% if @is_teacher %>
<% if @homework.homework_type == 3 %>