取消导入编程作业时对homework_type的赋值
This commit is contained in:
parent
90a52aa01b
commit
760b70971a
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue