作品匿评不显示
This commit is contained in:
parent
0945fecee6
commit
e747599925
|
@ -6,17 +6,17 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
// 匿评弹框提示
|
// 匿评弹框提示
|
||||||
<% if @is_evaluation && !@stundet_works.empty?%>
|
<%# if @is_evaluation && !@stundet_works.empty?%>
|
||||||
$(function(){
|
// $(function(){
|
||||||
$('#ajax-modal').html('<%= escape_javascript(render :partial => 'student_work/praise_alert') %>');
|
// $('#ajax-modal').html('<%#= escape_javascript(render :partial => 'student_work/praise_alert') %>');
|
||||||
showModal('ajax-modal', '500px');
|
// showModal('ajax-modal', '500px');
|
||||||
$('#ajax-modal').siblings().remove();
|
// $('#ajax-modal').siblings().remove();
|
||||||
$('#ajax-modal').before("<span style='float: right;cursor:pointer;'>" +
|
// $('#ajax-modal').before("<span style='float: right;cursor:pointer;'>" +
|
||||||
"<a href='javascript:' onclick='clickCanel();'><img src='/images/bid/close.png' width='26px' height='26px' /></a></span>");
|
// "<a href='javascript:' onclick='clickCanel();'><img src='/images/bid/close.png' width='26px' height='26px' /></a></span>");
|
||||||
$('#ajax-modal').parent().css("top","").css("left","");
|
// $('#ajax-modal').parent().css("top","").css("left","");
|
||||||
$('#ajax-modal').parent().addClass("anonymos");
|
// $('#ajax-modal').parent().addClass("anonymos");
|
||||||
});
|
// });
|
||||||
<% end%>
|
<%# end%>
|
||||||
|
|
||||||
//设置评分规则
|
//设置评分规则
|
||||||
function set_score_rule(){
|
function set_score_rule(){
|
||||||
|
|
Loading…
Reference in New Issue