app/views/home/_sidebar.html.erb in social_stream-0.4.1 vs app/views/home/_sidebar.html.erb in social_stream-0.4.2

- old
+ new

@@ -1,4 +1,16 @@ <div class="space_center"></div> <%= render :partial => "ties/suggestions" %> <div class="space_center"></div> <%= render :partial => 'ties/pendings' %> + + <% content_for :javascript do %> + + $(".suggestions .tie_close").livequery("click",function(){ + temp = $(this); + $.get("<%=suggestion_ties_path%>", function(data) { + temp.parents(".tie").replaceWith(data); + }); + + }); + + <% end %>