summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-03-17 04:13:05 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-03-17 04:13:05 +0000
commit0f999ef0e09ea5672c79294c7119f3766285f8c1 (patch)
tree911f3adf34d9deaa37b6e99214b84fbb346d0cfc
parent2ada68ae62038912a2d709928fb3034a9ac40ae8 (diff)
downloadredmine-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.rjs2
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