班级作业“从题库引用”作业,有时如图作业描述框中会出现一大片空白

This commit is contained in:
cxt 2017-04-06 15:19:24 +08:00
parent 8aaa3e5767
commit bc352897ef
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,6 @@
//$("#HomeWorkCon").replaceWith("<%#= escape_javascript(render :partial => 'users/user_homework_form', :locals => { :homework => @homework,:edit_mode => true })%>");
hideModal('#coursesChoosePopup');
$("#homework_editor").show();
$("#homework_name").val("<%= @homework.name%>");
//$("#homework_end_time").val("<%#= @homework.end_time%>");
<% if @select_course == "0"%>
@ -20,6 +21,5 @@ homework_description_editor.html("<%= escape_javascript(@homework.description.ht
<% end %>
document.getElementById("homework_type_option").options[<%=@homework.homework_type %>].selected = true;
$("#select_type_nitice").hide();
$("#homework_editor").show();
$("#join_bank").attr("checked",false);
$("#join_bank_li").hide();