To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / app / views / journals / update.js.erb @ 1591:63650ae64bf2
History | View | Annotate | Download (438 Bytes)
| 1 |
<% if @journal.frozen? %>
|
|---|---|
| 2 |
$("#change-<%= @journal.id %>").remove();
|
| 3 |
<% else %>
|
| 4 |
$("#journal-<%= @journal.id %>-notes").replaceWith('<%= escape_javascript(render_notes(@journal.issue, @journal, :reply_links => authorize_for('issues', 'edit'))) %>');
|
| 5 |
$("#journal-<%= @journal.id %>-notes").show();
|
| 6 |
$("#journal-<%= @journal.id %>-form").remove();
|
| 7 |
<% end %>
|
| 8 |
|
| 9 |
<%= call_hook(:view_journals_update_js_bottom, { :journal => @journal }) %>
|