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

4 lines
193 B
Plaintext

$('#new_form_user_message').val("<%= raw escape_javascript(@content)%>");
$('#new_form_reference_user_id').val("<%= @id %>");
showAndScrollTo("new_form_user_message", "new_form_user_message");