From 92298160a78d9a2c75061f3cf77066c00441e68b Mon Sep 17 00:00:00 2001 From: lizanle <491823689@qq.com> Date: Sat, 29 Aug 2015 11:58:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=90=9C=E7=B4=A2=E5=90=8E=E7=9A=84=E8=B5=84?= =?UTF-8?q?=E6=BA=90=E6=80=BB=E6=95=B0=E5=9C=A8=E6=90=9C=E7=B4=A2=E6=A1=86?= =?UTF-8?q?=E5=8F=B3=E8=BE=B9=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/users/resource_search.js.erb | 3 ++- app/views/users/user_resource.html.erb | 6 ++++++ app/views/users/user_resource.js.erb | 3 ++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/app/views/users/resource_search.js.erb b/app/views/users/resource_search.js.erb index a956ed212..894c1d2fa 100644 --- a/app/views/users/resource_search.js.erb +++ b/app/views/users/resource_search.js.erb @@ -1,2 +1,3 @@ $("#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 %>'); \ No newline at end of file +$("#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 diff --git a/app/views/users/user_resource.html.erb b/app/views/users/user_resource.html.erb index 901917220..0ddb799a8 100644 --- a/app/views/users/user_resource.html.erb +++ b/app/views/users/user_resource.html.erb @@ -72,6 +72,12 @@