Sha256: 95c9ccb7984de35ffad6c931f260458027f225d233efc9c0940433ba40dced9b
Contents?: true
Size: 518 Bytes
Versions: 2
Compression:
Stored size: 518 Bytes
Contents
<% @thread.comments.each do |comment| %> $("#comment_<%= comment.id.to_s %>_actions_span").html("<%= escape_javascript( render :partial => 'actions', :locals => {:comment => comment}) %>"); <% end %> $("#thread_<%= @thread.id %>_comment_list_div").append("<%= escape_javascript( render :partial => 'show', :locals => {:comment => @comment}) %>"); $("#thread_<%= @thread.id %>_new_comment_div").hide(); $("#thread_<%= @thread.id %>_new_comment_link_span").show(); <%= javascript_proc %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
commontator-0.4.1 | app/views/commontator/comments/create.js.erb |
commontator-0.3.10 | app/views/commontator/comments/create.js.erb |