编辑分组作业后点确定,原来设置的基于项目实施会被取消

This commit is contained in:
cxt 2016-08-11 10:23:44 +08:00
parent d99348c245
commit 9b8470b813
2 changed files with 4 additions and 8 deletions

View File

@ -24,11 +24,4 @@
<div class="courseSendCancel">
<a href="javascript:void(0);" class="sendSourceText linkGrey6" id="cancel_group">取消</a>
</div>
<div class="cl"></div>
<script type="text/javascript">
$(function(){
if($.trim($("#base_on_project").val()) == 1) {
$("#base_on_project").attr('checked','checked');
}
});
</script>
<div class="cl"></div>

View File

@ -10,6 +10,9 @@
} else {
$("#anonymous_comment").attr('checked',false);
}
if($.trim($("#base_on_project").val()) == 1) {
$("#base_on_project").attr('checked','checked');
}
<% if edit_mode && homework.is_program_homework? %>
$("#BluePopupBox a.BlueCirBtn").click();
<% end %>