da98386bf7
* :controller_journals_edit_post * :view_journals_notes_form_after_notes * :view_journals_update_rjs_bottom git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2121 e93f8b46-1217-0410-a6f0-8f06a7374b81
11 lines
336 B
Plaintext
11 lines
336 B
Plaintext
if @journal.frozen?
|
|
# journal was destroyed
|
|
page.remove "change-#{@journal.id}"
|
|
else
|
|
page.replace "journal-#{@journal.id}-notes", render_notes(@journal)
|
|
page.show "journal-#{@journal.id}-notes"
|
|
page.remove "journal-#{@journal.id}-form"
|
|
end
|
|
|
|
call_hook(:view_journals_update_rjs_bottom, { :page => page, :journal => @journal })
|