学生匿评打分之后,作品列表显示不正确

sw_new_course
sw 10 years ago
parent eef59d9f5d
commit 007aa00174

@ -8,7 +8,13 @@ $('#score_<%= @work.id%>').peSlider({range: 'min'});
<% end%>
$("#score_list_<%= @work.id%>").removeAttr("style");
$("#student_work_<%= @work.id%>").replaceWith("<%= escape_javascript(render :partial => 'student_work',:locals => {:student_work => @work}) %>");
<% if @is_teacher %>
$("#student_work_<%= @work.id%>").replaceWith("<%= escape_javascript(render :partial => 'student_work',:locals => {:student_work => @work}) %>");
<% else %>
$("#student_work_<%= @work.id%>").replaceWith("<%= escape_javascript(render :partial => 'evaluation_work',:locals => {:student_work => @work}) %>");
<% end%>
$(function(){
$(".student_score_info").bind("mouseover",function(e){
//alert($(this).html());

Loading…
Cancel
Save