view .svn/pristine/12/127326e6d209a7195a4e636ab9db2fcdcafc6686.svn-base @ 1524:82fac3dcf466 redmine-2.5-integration

Fix failure to interpret Javascript when autocompleting members for project
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Thu, 11 Sep 2014 10:24:38 +0100
parents 038ba2d95de8
children
line wrap: on
line source
$('#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;