view .svn/pristine/60/6089c129623045cd6c157b0be5cbb46ac9a89d00.svn-base @ 985:acaa61dde68b bug_522

Allow file attachment to wrap to avoid extra-wide text field
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Fri, 26 Oct 2012 17:18:52 +0100
parents cbb26bc654de
children
line wrap: on
line source
if @journal.frozen?
  # journal was destroyed
  page.remove "change-#{@journal.id}"
else
  page.replace "journal-#{@journal.id}-notes", render_notes(@journal.issue, @journal, :reply_links => authorize_for('issues', 'edit'))
  page.show "journal-#{@journal.id}-notes"
  page.remove "journal-#{@journal.id}-form"
end

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