parent
f395967ac9
commit
af59cd9ba7
@ -1,11 +1,11 @@
|
|||||||
$('#issue_notes').val("<%= raw escape_javascript(@content) %>");
|
$('#journal_issue_note').html("<%= raw escape_javascript(@content.html_safe) %>");
|
||||||
|
$("input[name='issue_quote_new']").val("<%= raw escape_javascript(@content.html_safe) %>");
|
||||||
<%
|
<%
|
||||||
# when quoting a private journal, check the private checkbox
|
# when quoting a private journal, check the private checkbox
|
||||||
if @journal && @journal.private_notes?
|
if @journal && @journal.private_notes?
|
||||||
%>
|
%>
|
||||||
$('#issue_private_notes').attr('checked', true);
|
$('#issue_private_notes').attr('checked', true);
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
showAndScrollTo("update", "notes");
|
showAndScrollTo("update", "notes");
|
||||||
$('#notes').scrollTop = $('#notes').scrollHeight - $('#notes').clientHeight;
|
$('#notes').scrollTop = $('#notes').scrollHeight - $('#notes').clientHeight;
|
||||||
|
|
||||||
|
Loading…
Reference in new issue