Sha256: ad79fb609900c5543d66fc23c8702bf03dff43d345105115609711633646c43f

Contents?: true

Size: 329 Bytes

Versions: 52

Compression:

Stored size: 329 Bytes

Contents

<% if @post.valid? %>
  //Display the new post
  $("#wall").prepend("<%= escape_javascript(render @post.post_activity) %>");

  SocialStream.Timeline.create("<%= escape_javascript dom_id(@post.post_activity) %>");
<% else %>
  SocialStream.Timeline.create();
  alert('<%= j @post.errors.full_messages.to_sentence %>');
<% end %>

Version data entries

52 entries across 52 versions & 2 rubygems

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