1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-31 12:49:38 +00:00
redmine/app/views/journals/update.js.erb
Jean-Philippe Lang 3eaa998c28 Removes RJS from JournalsController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10054 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-19 19:10:18 +00:00

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 }) %>