diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2010-03-17 04:13:05 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2010-03-17 04:13:05 +0000 |
commit | 0f999ef0e09ea5672c79294c7119f3766285f8c1 (patch) | |
tree | 911f3adf34d9deaa37b6e99214b84fbb346d0cfc | |
parent | 2ada68ae62038912a2d709928fb3034a9ac40ae8 (diff) | |
download | redmine-0f999ef0e09ea5672c79294c7119f3766285f8c1.tar.gz redmine-0f999ef0e09ea5672c79294c7119f3766285f8c1.zip |
Fixes undefined method 'notes' error from r3594
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3596 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/views/journals/update.rjs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/journals/update.rjs b/app/views/journals/update.rjs index f7c58392a..a83d58126 100644 --- a/app/views/journals/update.rjs +++ b/app/views/journals/update.rjs @@ -2,7 +2,7 @@ if @journal.frozen? # journal was destroyed page.remove "change-#{@journal.id}" else - page.replace "journal-#{@journal.id}-notes", render_notes(@journal, :reply_links => authorize_for('issues', 'edit')) + 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 |