Sha256: b00999830d021a0c608dde3004fc30c5a5907cf29fd05d80d4ce54e54c1c791b
Contents?: true
Size: 668 Bytes
Versions: 2
Compression:
Stored size: 668 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 %> <% unless @new_comment.nil? %> $("#thread_<%= @thread.id %>_new_comment_form_div").html("<%= escape_javascript( render partial: 'form', locals: { comment: @new_comment, thread: @thread, per_page: @per_page }) %>"); <% else %> $("#thread_<%= @thread.id %>_new_comment_form_div").hide(); $("#thread_<%= @thread.id %>_new_comment_link_div").fadeIn(); <% end %> <%= javascript_proc %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
commontator-5.1.0 | app/views/commontator/comments/cancel.js.erb |
commontator-5.0.0 | app/views/commontator/comments/cancel.js.erb |