annotate .svn/pristine/60/6089c129623045cd6c157b0be5cbb46ac9a89d00.svn-base @ 1458:b1f4c9a2af24
bug_794
Makes the default radio button checked by default -- this should fix bug #794.
author |
luisf <luis.figueira@eecs.qmul.ac.uk> |
date |
Mon, 11 Nov 2013 18:25:22 +0000 |
parents |
cbb26bc654de |
children |
|
rev |
line source |
Chris@909
|
1 if @journal.frozen?
|
Chris@909
|
2 # journal was destroyed
|
Chris@909
|
3 page.remove "change-#{@journal.id}"
|
Chris@909
|
4 else
|
Chris@909
|
5 page.replace "journal-#{@journal.id}-notes", render_notes(@journal.issue, @journal, :reply_links => authorize_for('issues', 'edit'))
|
Chris@909
|
6 page.show "journal-#{@journal.id}-notes"
|
Chris@909
|
7 page.remove "journal-#{@journal.id}-form"
|
Chris@909
|
8 end
|
Chris@909
|
9
|
Chris@909
|
10 call_hook(:view_journals_update_rjs_bottom, { :page => page, :journal => @journal })
|