取消导入编程作业时对homework_type的赋值

This commit is contained in:
sw 2015-09-11 16:27:34 +08:00
parent 90a52aa01b
commit 760b70971a
1 changed files with 1 additions and 1 deletions

View File

@ -6,6 +6,6 @@ $("#course_id").val("<%= @homework.course_id%>");
$("#homework_attachments").html("<%= escape_javascript(render :partial => 'users/user_homework_attachment', :locals => { :container => @homework,:has_program => true })%>");
homework_description_editor.html("<%= escape_javascript(@homework.description.html_safe)%>");
$("#BluePopupBox").html("<%=escape_javascript( render :partial => 'users/user_programing_attr', :locals => {:edit_mode => true, :homework => @homework})%>");
$("input[name='homework_type']").val("<%= @homework.homework_type%>");
//$("input[name='homework_type']").val("<%#= @homework.homework_type%>");
$("#homework_editor").show();
$("#BluePopupBox a.BlueCirBtn").click();