##// END OF EJS Templates
Warn me when leaving a page with unsaved text doesn't work when editing an update note (#14615)....
Warn me when leaving a page with unsaved text doesn't work when editing an update note (#14615). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12084 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r10336:0178b5a2fe07
r11854:cb90cdcc150c
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').attr('checked', true);
<% end %>
showAndScrollTo("update", "notes");
$('#notes').scrollTop = $('#notes').scrollHeight - $('#notes').clientHeight;