2008-02-16 16:19:33 +03:00
|
|
|
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
|