update.rjs
10 lines
| 336 B
| text/plain
|
TextLexer
|
r1138 | 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 | ||||
|
r2119 | |||
call_hook(:view_journals_update_rjs_bottom, { :page => page, :journal => @journal }) | ||||