编辑分组作业后点确定,原来设置的基于项目实施会被取消
This commit is contained in:
parent
d99348c245
commit
9b8470b813
|
@ -25,10 +25,3 @@
|
||||||
<a href="javascript:void(0);" class="sendSourceText linkGrey6" id="cancel_group">取消</a>
|
<a href="javascript:void(0);" class="sendSourceText linkGrey6" id="cancel_group">取消</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
<script type="text/javascript">
|
|
||||||
$(function(){
|
|
||||||
if($.trim($("#base_on_project").val()) == 1) {
|
|
||||||
$("#base_on_project").attr('checked','checked');
|
|
||||||
}
|
|
||||||
});
|
|
||||||
</script>
|
|
|
@ -10,6 +10,9 @@
|
||||||
} else {
|
} else {
|
||||||
$("#anonymous_comment").attr('checked',false);
|
$("#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? %>
|
<% if edit_mode && homework.is_program_homework? %>
|
||||||
$("#BluePopupBox a.BlueCirBtn").click();
|
$("#BluePopupBox a.BlueCirBtn").click();
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Reference in New Issue