summaryrefslogtreecommitdiffstats
path: root/app/views/journals/update.js.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/journals/update.js.erb')
-rw-r--r--app/views/journals/update.js.erb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/journals/update.js.erb b/app/views/journals/update.js.erb
index 65c198d59..34adf1567 100644
--- a/app/views/journals/update.js.erb
+++ b/app/views/journals/update.js.erb
@@ -1,7 +1,9 @@
<% if @journal.frozen? %>
$("#change-<%= @journal.id %>").remove();
<% else %>
+ $("#change-<%= @journal.id %>").attr('class', '<%= @journal.css_classes %>');
$("#journal-<%= @journal.id %>-notes").replaceWith('<%= escape_javascript(render_notes(@journal.issue, @journal, :reply_links => authorize_for('issues', 'edit'))) %>');
+ $("#journal-<%= @journal.id %>-private_notes").replaceWith('<%= escape_javascript(render_private_notes(@journal)) %>');
$("#journal-<%= @journal.id %>-notes").show();
$("#journal-<%= @journal.id %>-form").remove();
<% end %>