2008-02-16 16:19:33 +03:00
|
|
|
if @journal.frozen?
|
|
|
|
# journal was destroyed
|
|
|
|
page.remove "change-#{@journal.id}"
|
|
|
|
else
|
2010-03-17 07:13:05 +03:00
|
|
|
page.replace "journal-#{@journal.id}-notes", render_notes(@journal.issue, @journal, :reply_links => authorize_for('issues', 'edit'))
|
2008-02-16 16:19:33 +03:00
|
|
|
page.show "journal-#{@journal.id}-notes"
|
|
|
|
page.remove "journal-#{@journal.id}-form"
|
|
|
|
end
|
2008-12-11 02:44:22 +03:00
|
|
|
|
|
|
|
call_hook(:view_journals_update_rjs_bottom, { :page => page, :journal => @journal })
|