view app/views/journals/update.js.erb @ 1519:afce8026aaeb redmine-2.4-integration

Merge from branch "live"
author Chris Cannam
date Tue, 09 Sep 2014 09:34:53 +0100
parents 433d4f72a19b
children
line wrap: on
line source
<% 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 }) %>