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

6 lines
242 B
Plaintext
Raw Normal View History

2014-04-03 22:38:18 +08:00
$('#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");