Sha256: 4b37d4d8b05fe143306ba926173810a048c630651a25ded0cfd0c7748bacb282

Contents?: true

Size: 366 Bytes

Versions: 7

Compression:

Stored size: 366 Bytes

Contents

<% unless @comment.try(:id).blank? %>
  <% @comment.reload %>
  $("#comment_<%= @comment.id.to_s %>_body_div").html("<%= escape_javascript(
    render :partial => 'body', :locals => {:comment => @comment}) %>");
<% end %>

$("#thread_<%= @thread.id %>_new_comment_div").hide();

$("#thread_<%= @thread.id %>_new_comment_link_span").fadeIn();

<%= javascript_proc %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
commontator-4.5.4 app/views/commontator/comments/cancel.js.erb
commontator-4.5.3 app/views/commontator/comments/cancel.js.erb
commontator-4.5.2 app/views/commontator/comments/cancel.js.erb
commontator-4.5.1 app/views/commontator/comments/cancel.js.erb
commontator-4.5.0 app/views/commontator/comments/cancel.js.erb
commontator-4.4.1 app/views/commontator/comments/cancel.js.erb
commontator-4.3.0 app/views/commontator/comments/cancel.js.erb