Mercurial > hg > soundsoftware-site
view app/views/journals/update.js.erb @ 1384:b51b5ae3734c luisf
Merge
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Fri, 20 Sep 2013 19:04:25 +0100 |
parents | 433d4f72a19b |
children |
line wrap: on
line source
<% 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 %> <%= call_hook(:view_journals_update_js_bottom, { :journal => @journal }) %>