|
|
|
@ -2,6 +2,7 @@ if($("#about_hwork_<%= @work.id%>").children().length > 0){
|
|
|
|
|
$("#about_hwork_<%= @work.id%>").html("");
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
$(".about_hwork").html("");
|
|
|
|
|
<% if @homework.homework_type == 2%>
|
|
|
|
|
$("#about_hwork_<%= @work.id%>").html("<%= escape_javascript(render :partial => 'programing_work_show',:locals => {:work =>@work,:score =>@score,:student_work_scores => @student_work_scores}) %>");
|
|
|
|
|
|
|
|
|
|