diff --git a/app/views/student_work/index.html.erb b/app/views/student_work/index.html.erb index 9c48d310b..d0f4f82b7 100644 --- a/app/views/student_work/index.html.erb +++ b/app/views/student_work/index.html.erb @@ -6,17 +6,17 @@ }); // 匿评弹框提示 - <% if @is_evaluation && !@stundet_works.empty?%> - $(function(){ - $('#ajax-modal').html('<%= escape_javascript(render :partial => 'student_work/praise_alert') %>'); - showModal('ajax-modal', '500px'); - $('#ajax-modal').siblings().remove(); - $('#ajax-modal').before("" + - ""); - $('#ajax-modal').parent().css("top","").css("left",""); - $('#ajax-modal').parent().addClass("anonymos"); - }); - <% end%> + <%# if @is_evaluation && !@stundet_works.empty?%> +// $(function(){ +// $('#ajax-modal').html('<%#= escape_javascript(render :partial => 'student_work/praise_alert') %>'); +// showModal('ajax-modal', '500px'); +// $('#ajax-modal').siblings().remove(); +// $('#ajax-modal').before("" + +// ""); +// $('#ajax-modal').parent().css("top","").css("left",""); +// $('#ajax-modal').parent().addClass("anonymos"); +// }); + <%# end%> //设置评分规则 function set_score_rule(){