学生提交禁用匿评的作业时会弹出匿评关闭的提示

This commit is contained in:
cxt 2016-05-06 18:54:51 +08:00
parent c6c3625029
commit 262fd8bb65
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
<% end %>
<script type="text/javascript">
<%if @homework.homework_detail_manual.comment_status != 1%>
<%if @homework.anonymous_comment == 0 && @homework.homework_detail_manual.comment_status != 1%>
$(function(){
$('#ajax-modal').html('<%= escape_javascript(render :partial => 'student_work/new_student_work_alert') %>');
showModal('ajax-modal', '360px');