2016-12-23 21:44:03 +08:00
|
|
|
if($("#about_hwork_<%= @work.id%>").children().length > 0){
|
|
|
|
$("#about_hwork_<%= @work.id%>").html("");
|
|
|
|
}
|
|
|
|
else{
|
|
|
|
$(".about_hwork").html("");
|
|
|
|
|
2017-01-06 15:00:14 +08:00
|
|
|
$("#about_hwork_<%= @work.id%>").html("<%= escape_javascript(render :partial => 'show',:locals => {:work =>@work, :score => @score, :student_work_scores => @student_work_scores}) %>");
|
2016-12-23 21:44:03 +08:00
|
|
|
$('#score_<%= @work.id%>').peSlider({range: 'min'});
|
|
|
|
}
|