##// END OF EJS Templates
Merged r14795 and r14796 (#21150)....
Merged r14795 and r14796 (#21150). git-svn-id: http://svn.redmine.org/redmine/branches/3.1-stable@14837 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r9885:6a2ca5e03427
r14455:bff6ff9273cf
Show More
update.js.erb
9 lines | 438 B | text/plain | TextLexer
<% if @journal.frozen? %>
$("#change-<%= @journal.id %>").remove();
<% else %>
$("#journal-<%= @journal.id %>-notes").replaceWith('<%= escape_javascript(render_notes(@journal.issue, @journal, :reply_links => authorize_for('issues', 'edit'))) %>');
$("#journal-<%= @journal.id %>-notes").show();
$("#journal-<%= @journal.id %>-form").remove();
<% end %>
<%= call_hook(:view_journals_update_js_bottom, { :journal => @journal }) %>