annotate app/views/journals/update.js.erb @ 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 |
433d4f72a19b |
children |
|
rev |
line source |
Chris@1115
|
1 <% if @journal.frozen? %>
|
Chris@1115
|
2 $("#change-<%= @journal.id %>").remove();
|
Chris@1115
|
3 <% else %>
|
Chris@1115
|
4 $("#journal-<%= @journal.id %>-notes").replaceWith('<%= escape_javascript(render_notes(@journal.issue, @journal, :reply_links => authorize_for('issues', 'edit'))) %>');
|
Chris@1115
|
5 $("#journal-<%= @journal.id %>-notes").show();
|
Chris@1115
|
6 $("#journal-<%= @journal.id %>-form").remove();
|
Chris@1115
|
7 <% end %>
|
Chris@1115
|
8
|
Chris@1115
|
9 <%= call_hook(:view_journals_update_js_bottom, { :journal => @journal }) %>
|