##// END OF EJS Templates
Backported r13560 and r13569 (#18280)....
Backported r13560 and r13569 (#18280). git-svn-id: http://svn.redmine.org/redmine/branches/2.6-stable@13631 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r13045:cc688bb1b114
r13249:cc2d5f61ab06
Show More
new.js.erb
10 lines | 349 B | text/plain | TextLexer
$('#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;