view .svn/pristine/60/6089c129623045cd6c157b0be5cbb46ac9a89d00.svn-base @ 1519:afce8026aaeb redmine-2.4-integration

Merge from branch "live"
author Chris Cannam
date Tue, 09 Sep 2014 09:34:53 +0100
parents cbb26bc654de
children
line wrap: on
line source
if @journal.frozen?
  # journal was destroyed
  page.remove "change-#{@journal.id}"
else
  page.replace "journal-#{@journal.id}-notes", render_notes(@journal.issue, @journal, :reply_links => authorize_for('issues', 'edit'))
  page.show "journal-#{@journal.id}-notes"
  page.remove "journal-#{@journal.id}-form"
end

call_hook(:view_journals_update_rjs_bottom, { :page => page, :journal => @journal })