diaspora/app/views/comments/create.js.erb
2012-01-07 14:23:21 -08:00

7 lines
323 B
Text

App.stream.collection.get(<%= @comment.post.id %>);
console.log(post);
ContentUpdater.addCommentToPost("<%= @comment.post.guid %>",
"<%= @comment.guid%>",
"<%= escape_javascript(render(:partial => 'comments/comment', :locals => { :comment => @comment, :person => current_user.person, :post => @comment.post}))%>");