Files
Redmine/app/views/journals/new.js.erb
Toshi MARUYAMA cc688bb1b1 Backport r13313 from rails-4.1 to trunk.
Upgrade to JQuery 1.11.1

git-svn-id: http://svn.redmine.org/redmine/trunk@13408 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-09-14 14:17:52 +00:00

11 lines
349 B
Plaintext

$('#issue_notes').val("<%= raw escape_javascript(@content) %>");
<%
# when quoting a private journal, check the private checkbox
if @journal && @journal.private_notes?
%>
$('#issue_private_notes').prop('checked', true);
<% end %>
showAndScrollTo("update", "notes");
$('#notes').scrollTop = $('#notes').scrollHeight - $('#notes').clientHeight;