bigdir/app/views/contests/new.js.erb

6 lines
242 B
Plaintext

$('#pre_show').html('<%= escape_javascript(render(:partial => 'pre_show', :locals => {:content => @content})) %>');
$('#contest_message_reference_user_id').val("<%= @id%>");
showAndScrollTo("pre_show", "contest_message_reference_user_id");