2013-08-01 10:33:49 +08:00
|
|
|
<% 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 %>
|
2013-08-11 10:36:55 +08:00
|
|
|
$('#new_form_reference_user_id').val('');
|
2013-08-01 10:33:49 +08:00
|
|
|
<%= call_hook(:view_journals_update_js_bottom, { :journal => @journal }) %>
|