10 lines
448 B
Plaintext
10 lines
448 B
Plaintext
<% if @journal.frozen? %>
|
|
Element.remove("change-<%= @journal.id %>");
|
|
<% else %>
|
|
Element.replace("journal-<%= @journal.id %>-notes", '<%= escape_javascript(render_notes(@journal.issue, @journal, :reply_links => authorize_for('issues', 'edit'))) %>');
|
|
Element.show("journal-<%= @journal.id %>-notes");
|
|
Element.remove("journal-<%= @journal.id %>-form");
|
|
<% end %>
|
|
|
|
<%= call_hook(:view_journals_update_js_bottom, { :journal => @journal }) %>
|