2012-10-04 01:36:19 +04:00
|
|
|
$('#issue_notes').val("<%= raw escape_javascript(@content) %>");
|
|
|
|
<%
|
|
|
|
# when quoting a private journal, check the private checkbox
|
|
|
|
if @journal && @journal.private_notes?
|
|
|
|
%>
|
|
|
|
$('#issue_private_notes').attr('checked', true);
|
|
|
|
<% end %>
|
|
|
|
|
2012-07-22 17:29:26 +04:00
|
|
|
showAndScrollTo("update", "notes");
|
|
|
|
$('#notes').scrollTop = $('#notes').scrollHeight - $('#notes').clientHeight;
|