From e7475999251130393038a851874b49cd3eea2a05 Mon Sep 17 00:00:00 2001 From: huang Date: Thu, 15 Oct 2015 15:26:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=9C=E5=93=81=E5=8C=BF=E8=AF=84=E4=B8=8D?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/student_work/index.html.erb | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) 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(){