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

This commit is contained in:
lizanle 2015-09-11 09:08:05 +08:00
parent 795ce09d5e
commit 2beb85561a
1 changed files with 3 additions and 1 deletions

View File

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