app/views/contacts/_suggestions.html.erb in social_stream-base-0.5.1 vs app/views/contacts/_suggestions.html.erb in social_stream-base-0.5.2
- old
+ new
@@ -1,9 +1,9 @@
<% if current_subject.suggestion.present? %>
<% content_for :javascript do %>
- $(".suggestions .contact_close").livequery("click",function(){
+ $(".suggestions .close").livequery("click",function(){
temp = $(this);
$.get("<%=suggestion_contacts_path%>", function(data) {
temp.parents(".contact").replaceWith(data);
});
@@ -17,11 +17,13 @@
<div class="header_text">
<%=t('contact.suggestion.one') %>
</div>
</div>
<div class="content">
- <% if (sgs = current_subject.suggestions(2)).present? %>
- <%= render :partial => 'contacts/contact', :collection => sgs %>
- <%end%>
+ <div class="suggestions">
+ <% if (sgs = current_subject.suggestions(2)).present? %>
+ <%= render :partial => 'contacts/contact', :collection => sgs %>
+ <%end%>
+ </div>
</div>
</div>
<%end%>