Sha256: 97e685a79ae9d848e26871dd3a5ba0f5fb694af501f8289a77331bb49a5920aa

Contents?: true

Size: 475 Bytes

Versions: 6

Compression:

Stored size: 475 Bytes

Contents

$("#thread_<%= @thread.id %>_new_comment_div").html("<%= escape_javascript(
  render :partial => 'form',
         :locals => {
                       :comment => @comment,
                       :thread => @thread,
                       :per_page => @per_page
                    }) %>");
                    
$("#thread_<%= @thread.id %>_new_comment_div").fadeIn()[0].scrollIntoView();

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

<%= javascript_proc %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
commontator-4.8.0 app/views/commontator/comments/new.js.erb
commontator-4.7.2 app/views/commontator/comments/new.js.erb
commontator-4.7.1 app/views/commontator/comments/new.js.erb
commontator-4.7.0 app/views/commontator/comments/new.js.erb
commontator-4.6.1 app/views/commontator/comments/new.js.erb
commontator-4.6.0 app/views/commontator/comments/new.js.erb