Redmine 3.4.4
This commit is contained in:
commit
64924a6376
2112 changed files with 259028 additions and 0 deletions
11
app/views/journals/update.js.erb
Normal file
11
app/views/journals/update.js.erb
Normal file
|
@ -0,0 +1,11 @@
|
|||
<% 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_indicator(@journal)) %>');
|
||||
$("#journal-<%= @journal.id %>-notes").show();
|
||||
$("#journal-<%= @journal.id %>-form").remove();
|
||||
<% end %>
|
||||
|
||||
<%= call_hook(:view_journals_update_js_bottom, { :journal => @journal }) %>
|
Loading…
Add table
Add a link
Reference in a new issue