6a2ca5e034
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10068 e93f8b46-1217-0410-a6f0-8f06a7374b81
10 lines
438 B
Plaintext
10 lines
438 B
Plaintext
<% 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 }) %>
|