Redmine/app/views/journals/new.js.erb

4 lines
172 B
Plaintext
Raw Normal View History

$('#notes').val("<%= raw escape_javascript(@content) %>");
showAndScrollTo("update", "notes");
$('#notes').scrollTop = $('#notes').scrollHeight - $('#notes').clientHeight;