Commit d91389bf484704bdf30b930e90fe53f587afb359

Authored by Victor Costa
1 parent edb151a8

community_track: fix track list block

plugins/community_track/lib/community_track_plugin/track_list_block.rb
... ... @@ -6,6 +6,8 @@ class CommunityTrackPlugin::TrackListBlock < Block
6 6 settings_items :more_another_page, :type => :boolean, :default => false
7 7 settings_items :category_ids, :type => Array, :default => []
8 8  
  9 + attr_accessible :more_another_page, :category_ids
  10 +
9 11 def self.description
10 12 _('Track List')
11 13 end
... ...
plugins/community_track/views/blocks/_track_list_more.html.erb
... ... @@ -6,7 +6,7 @@
6 6 </div>
7 7 <% else %>
8 8 <div class="more">
9   - <%= link_to_remote(_('More'), :url => {:id => block.id, :controller => 'community_track_plugin_public', :action => 'view_tracks', :page => page, :per_page => per_page, :force_same_page => force_same_page}, :loaded => visual_effect(:highlight, "track_card_list_#{block.id}")) %>
  9 + <%= link_to_remote(_('More'), :url => {:id => block.id, :controller => 'community_track_plugin_public', :action => 'view_tracks', :page => page, :per_page => per_page, :force_same_page => force_same_page}) %>
10 10 </div>
11 11 <% end %>
12 12 </div>
... ...