new.js.erb
13 lines
| 367 B
| text/plain
|
TextLexer
|
r15608 | showAndScrollTo("update"); | ||
var notes = $('#issue_notes').val(); | ||||
if (notes > "") { notes = notes + "\n\n"} | ||||
$('#issue_notes').blur().focus().val(notes + "<%= raw escape_javascript(@content) %>"); | ||||
|
r10336 | <% | ||
# when quoting a private journal, check the private checkbox | ||||
if @journal && @journal.private_notes? | ||||
%> | ||||
|
r13045 | $('#issue_private_notes').prop('checked', true); | ||
|
r10336 | <% end %> | ||