Mercurial > hg > soundsoftware-site
view app/views/journals/new.js.erb @ 1307:06de38acb6b4 redmine-2.2-integration
escaping the html on two helper functions.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Mon, 17 Jun 2013 15:25:51 +0100 |
parents | 433d4f72a19b |
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;