Sha256: 1ec5666795bd718d20c35b1ed4ff3c974a899b90e1c9aa71de932e3802a793b3
Contents?: true
Size: 772 Bytes
Versions: 2
Compression:
Stored size: 772 Bytes
Contents
<%= render partial: 'commontator/threads/show', locals: { thread: @thread, user: @user, page: @thread.new_comment_page(@per_page), per_page: @per_page } %> <% 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 %> $("#comment_<%= @comment.id.to_s %>_div").hide().fadeIn()[0].scrollIntoView(); <%= javascript_proc %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
commontator-5.1.0 | app/views/commontator/comments/create.js.erb |
commontator-5.0.0 | app/views/commontator/comments/create.js.erb |