学生提交禁用匿评的作业时会弹出匿评关闭的提示
This commit is contained in:
parent
c6c3625029
commit
262fd8bb65
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue