全选所有资源,然后再用关键字过滤,全选checkbox和选择资源的个数应该清空

This commit is contained in:
lizanle 2015-09-06 15:16:32 +08:00
parent 9caa7a421a
commit 704337fe56
1 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,5 @@
$("#resources_list").html('<%= escape_javascript( render :partial => 'resources_list' ,:locals=>{ :attachments => @attachments})%>');
$("#pages").html('<%= pagination_links_full @atta_pages, @atta_count, :per_page_links => false, :remote => @is_remote, :flag => true %>');
$("#res_all_count").html(<%= @atta_count%>);
$("#res_all_count").html(<%= @atta_count%>);
$("#res_count").html(0);
$("#checkboxAll").attr('checked',false);