Sha256: 23e8b59078b6fcc723f6f32bc630156994d7bb0d6dd7aedc617095f92f4b659e

Contents?: true

Size: 427 Bytes

Versions: 10

Compression:

Stored size: 427 Bytes

Contents

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

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

<%= javascript_proc %>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
commontator-4.5.4 app/views/commontator/comments/new.js.erb
commontator-4.5.3 app/views/commontator/comments/new.js.erb
commontator-4.5.2 app/views/commontator/comments/new.js.erb
commontator-4.5.1 app/views/commontator/comments/new.js.erb
commontator-4.5.0 app/views/commontator/comments/new.js.erb
commontator-4.4.1 app/views/commontator/comments/new.js.erb
commontator-4.3.0 app/views/commontator/comments/new.js.erb
commontator-4.2.2 app/views/commontator/comments/new.js.erb
commontator-4.2.1 app/views/commontator/comments/new.js.erb
commontator-4.2.0 app/views/commontator/comments/new.js.erb