上传资源后,全选按钮和已选择资源数清空

guange_homework
lizanle 10 years ago
parent 795ce09d5e
commit 2beb85561a

@ -2,4 +2,6 @@
closeModal();
$("#resources_list").html('<%= escape_javascript( render :partial => 'resources_list' ,:locals=>{ :attachments => @attachments})%>');
//这里不能将翻页的更新
$("#res_all_count").html(parseInt($("#res_all_count").html())+1);
$("#res_all_count").html(parseInt($("#res_all_count").html())+1);
$("#res_count").html(0);
$("#checkboxAll").attr('checked',false);
Loading…
Cancel
Save