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

13 lines
423 B
Plaintext
Raw Normal View History

issue_journal_kind_reply.html("<%= raw escape_javascript(@content) %>");
2013-08-01 10:33:49 +08:00
<%
# when quoting a private journal, check the private checkbox
if @journal && @journal.private_notes?
2013-08-01 10:33:49 +08:00
%>
$('#issue_private_notes').attr('checked', true);
<% end %>
//quote_issue_journal()
2015-07-03 15:00:15 +08:00
2013-08-01 10:33:49 +08:00
showAndScrollTo("update", "notes");
$('#notes').scrollTop = $('#notes').scrollHeight - $('#notes').clientHeight;
$('#reference_user_id').val("<%= @id %>");