##// END OF EJS Templates
Fixes undefined method 'notes' error from r3594...
Eric Davis -
r3482:0f999ef0e09e
parent child
Show More
@@ -1,10 +1,10
1 1 if @journal.frozen?
2 2 # journal was destroyed
3 3 page.remove "change-#{@journal.id}"
4 4 else
5 page.replace "journal-#{@journal.id}-notes", render_notes(@journal, :reply_links => authorize_for('issues', 'edit'))
5 page.replace "journal-#{@journal.id}-notes", render_notes(@journal.issue, @journal, :reply_links => authorize_for('issues', 'edit'))
6 6 page.show "journal-#{@journal.id}-notes"
7 7 page.remove "journal-#{@journal.id}-form"
8 8 end
9 9
10 10 call_hook(:view_journals_update_rjs_bottom, { :page => page, :journal => @journal })
General Comments 0
You need to be logged in to leave comments. Login now