Sha256: 22637657778b12b95a09b8d914b94e73f82285596e445058fc37195869b3adc5

Contents?: true

Size: 333 Bytes

Versions: 16

Compression:

Stored size: 333 Bytes

Contents

<% if @post.valid? %>
  //Display the new post
  $(".timeline").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

16 entries across 16 versions & 2 rubygems

Version Path
social_stream-2.0.4 base/app/views/posts/create.js.erb
social_stream-base-2.0.4 app/views/posts/create.js.erb
social_stream-2.0.3 base/app/views/posts/create.js.erb
social_stream-base-2.0.3 app/views/posts/create.js.erb
social_stream-2.0.2 base/app/views/posts/create.js.erb
social_stream-base-2.0.2 app/views/posts/create.js.erb
social_stream-2.0.1 base/app/views/posts/create.js.erb
social_stream-base-2.0.1 app/views/posts/create.js.erb
social_stream-2.0.0 base/app/views/posts/create.js.erb
social_stream-base-2.0.0 app/views/posts/create.js.erb
social_stream-2.0.0.beta3 base/app/views/posts/create.js.erb
social_stream-base-2.0.0.beta3 app/views/posts/create.js.erb
social_stream-2.0.0.beta2 base/app/views/posts/create.js.erb
social_stream-base-2.0.0.beta2 app/views/posts/create.js.erb
social_stream-2.0.0.beta1 base/app/views/posts/create.js.erb
social_stream-base-2.0.0.beta1 app/views/posts/create.js.erb