To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / app / views / journals / .svn / text-base / update.rjs.svn-base @ 441:cbce1fd3b1b7

History | View | Annotate | Download (401 Bytes)

1
if @journal.frozen?
2
  # journal was destroyed
3
  page.remove "change-#{@journal.id}"
4
else
5
  page.replace "journal-#{@journal.id}-notes", render_notes(@journal.issue, @journal, :reply_links => authorize_for('issues', 'edit'))
6
  page.show "journal-#{@journal.id}-notes"
7
  page.remove "journal-#{@journal.id}-form"
8
end
9

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