评分之后关闭弹出窗口之后刷新未评分作品页面
This commit is contained in:
parent
1ec6b53d76
commit
6dfb997ffe
|
@ -42,7 +42,15 @@
|
|||
|
||||
function hiddent_alert_model(){hideModal($('#popbox02'));}
|
||||
|
||||
function hidden_homework_atert_form(){hideModal($("#popbox"));}
|
||||
function hidden_homework_atert_form()
|
||||
{
|
||||
hideModal($("#popbox"));
|
||||
// 评了分的则刷新列表
|
||||
if($("#star_score > .rateable").attr('class').contains('jDisabled'))
|
||||
{
|
||||
$("#not_batch_homework").click();
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</div>
|
||||
<div id='bidding_project_list'>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<% if @is_teacher %>
|
||||
<ul>
|
||||
<li id="tb_1" class="hovertab">
|
||||
<%= link_to "未批作品", get_not_batch_homework_homework_attach_index_path(:bid_id => @bid.id), {:remote => true}%>
|
||||
<%= link_to "未批作品", get_not_batch_homework_homework_attach_index_path(:bid_id => @bid.id), { id: 'not_batch_homework', :remote => true}%>
|
||||
</li>
|
||||
<li id="tb_2" class="normaltab">
|
||||
<%= link_to "已改作品", get_batch_homeworks_homework_attach_index_path(:bid_id => @bid.id), {:remote => true}%>
|
||||
|
|
Loading…
Reference in New Issue