From c3ecc59beefd4cf86d5db009efec1a5e0d4e4afa Mon Sep 17 00:00:00 2001
From: Raphael Sofaer <raphael@joindiaspora.com>
Date: Tue, 12 Jul 2011 16:45:29 -0700
Subject: [PATCH] Bring back the js people pagination on tag show, we need a js
 file for that page

---
 app/views/tags/show.haml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/app/views/tags/show.haml b/app/views/tags/show.haml
index b834080111..fd7867d757 100644
--- a/app/views/tags/show.haml
+++ b/app/views/tags/show.haml
@@ -13,6 +13,7 @@
   = include_javascripts :home
   :javascript
     $(document).ready(function(){
+      // Change the text and color of the "follow this tag" button on hover.
       $(".button.tag_following").hover(function(){
         $this = $(this);
         $this.removeClass("in_aspects");
@@ -24,6 +25,11 @@
         $this.val("#{t('.following', :tag => params[:name])}");
       });
     });
+    $(".people_stream .pagination a").live("click", function() {
+      $.getScript(this.href);
+      return false;
+    });
+
 
 - content_for :body_class do
   = "tags_show"
-- 
GitLab