编程作业关闭匿评后,老师点击模拟答题,却弹出匿评提示

This commit is contained in:
cxt 2016-07-18 14:09:41 +08:00
parent a9ee1d10cd
commit 9e5e7a75b0
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@
$(function(){
$("#RSide").removeAttr("id");
$("#Container").css("width","1000px");
<%if @homework.anonymous_comment == 0 && @homework.homework_detail_manual.comment_status != 1%>
<%if !@is_test && @homework.anonymous_comment == 0 && @homework.homework_detail_manual.comment_status != 1%>
$('#ajax-modal').html('<%= escape_javascript(render :partial => 'student_work/new_student_work_alert') %>');
showModal('ajax-modal', '360px');
$('#ajax-modal').siblings().remove();