Sha256: fa6c639888599ab35d0e43a5c8e7ef4dc1bee869ba24086e840519fd7d0856af

Contents?: true

Size: 815 Bytes

Versions: 5

Compression:

Stored size: 815 Bytes

Contents

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

$("#comment_<%= @comment.id.to_s %>_timestamp_span").html("<%= escape_javascript(
  @comment.timestamp + (@comment.is_modified? ? " by #{commontator_name(comment.editor)}" : '')) %>");
                                                           
$("#comment_<%= @comment.id.to_s %>_actions_span").html("<%= escape_javascript(
  render :partial => 'actions',
         :locals => {:comment => @comment,
                     :user => @user}) %>");
         
$("#comment_<%= @comment.id %>_votes_span").html("<%= escape_javascript(
  render :partial => 'votes',
         :locals => {:comment => @comment,
                     :user => @user}) %>");

<%= javascript_proc %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
commontator-2.0.2 app/views/commontator/comments/delete.js.erb~
commontator-4.0.1 app/views/commontator/comments/delete.js.erb~
commontator-4.0.0 app/views/commontator/comments/delete.js.erb~
commontator-2.0.1 app/views/commontator/comments/delete.js.erb~
commontator-2.0.0 app/views/commontator/comments/delete.js.erb~