Sha256: d9d1c8b90d80830da006640e6f9e8642642fd79d3d15a201f061dfc2f3dba78d

Contents?: true

Size: 269 Bytes

Versions: 224

Compression:

Stored size: 269 Bytes

Contents

<% 
  new_contact = @contact.replied? ? current_subject.pending_contacts.last : current_subject.suggestions.first
  render_string = new_contact.present? ? render(new_contact) : ""
%>

$('#<%= dom_id(@contact) %>').replaceWith("<%= escape_javascript render_string %>");

Version data entries

224 entries across 224 versions & 4 rubygems

Version Path
social_stream-1.1.12 base/app/views/contacts/destroy.js.erb
social_stream-base-1.1.11 app/views/contacts/destroy.js.erb
social_stream-1.1.11 base/app/views/contacts/destroy.js.erb
social_stream-base-1.1.10 app/views/contacts/destroy.js.erb
social_stream-1.1.10 base/app/views/contacts/destroy.js.erb
social_stream-base-1.1.9 app/views/contacts/destroy.js.erb
social_stream-1.1.9 base/app/views/contacts/destroy.js.erb
social_stream-base-1.1.8 app/views/contacts/destroy.js.erb
social_stream-1.1.8 base/app/views/contacts/destroy.js.erb
social_stream-base-1.1.7 app/views/contacts/destroy.js.erb
social_stream-1.1.7 base/app/views/contacts/destroy.js.erb
social_stream-base-1.1.6 app/views/contacts/destroy.js.erb
social_stream-1.1.6 base/app/views/contacts/destroy.js.erb
social_stream-base-1.1.5 app/views/contacts/destroy.js.erb
social_stream-1.1.5 base/app/views/contacts/destroy.js.erb
social_stream-base-1.1.4 app/views/contacts/destroy.js.erb
social_stream-1.1.4 base/app/views/contacts/destroy.js.erb
social_stream-1.1.3 base/app/views/contacts/destroy.js.erb
social_stream-base-1.1.3 app/views/contacts/destroy.js.erb
social_stream-1.1.2 base/app/views/contacts/destroy.js.erb