From 4fbea066428f436f2ae2e49c5bdbce48d06eb9a5 Mon Sep 17 00:00:00 2001 From: spen Date: Mon, 24 Nov 2014 10:32:41 +0800 Subject: [PATCH] fix show pagination --- .../panel/announcement/widget/bulletins/sync_data.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/panel/announcement/widget/bulletins/sync_data.html.erb b/app/views/panel/announcement/widget/bulletins/sync_data.html.erb index e66aea3..f2f0ec7 100644 --- a/app/views/panel/announcement/widget/bulletins/sync_data.html.erb +++ b/app/views/panel/announcement/widget/bulletins/sync_data.html.erb @@ -98,6 +98,6 @@ function newPopup(url) { -<%= paginate( @bulletins, :param_name => :page_main, :params => {:inner => 'false'} ) rescue nil if params[:show_page].blank? %> +<%= paginate( @bulletins, :param_name => :page_main, :params => {:inner => 'false'} ) rescue nil if params[:show_page] == 'true' %>