From 704337fe5698e1d279d669ee5b63c1b48391b218 Mon Sep 17 00:00:00 2001 From: lizanle <491823689@qq.com> Date: Sun, 6 Sep 2015 15:16:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=A8=E9=80=89=E6=89=80=E6=9C=89=E8=B5=84?= =?UTF-8?q?=E6=BA=90=EF=BC=8C=E7=84=B6=E5=90=8E=E5=86=8D=E7=94=A8=E5=85=B3?= =?UTF-8?q?=E9=94=AE=E5=AD=97=E8=BF=87=E6=BB=A4=EF=BC=8C=E5=85=A8=E9=80=89?= =?UTF-8?q?checkbox=E5=92=8C=E9=80=89=E6=8B=A9=E8=B5=84=E6=BA=90=E7=9A=84?= =?UTF-8?q?=E4=B8=AA=E6=95=B0=E5=BA=94=E8=AF=A5=E6=B8=85=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/users/resource_search.js.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/users/resource_search.js.erb b/app/views/users/resource_search.js.erb index 894c1d2fa..d295ce003 100644 --- a/app/views/users/resource_search.js.erb +++ b/app/views/users/resource_search.js.erb @@ -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%>); \ No newline at end of file +$("#res_all_count").html(<%= @atta_count%>); +$("#res_count").html(0); +$("#checkboxAll").attr('checked',false); \ No newline at end of file