summaryrefslogtreecommitdiffstats
path: root/app/views/journals
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-18 18:35:25 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-18 18:35:25 +0000
commitcd39b12f2cf1b74de77ff7d6f52d310c13dff0e4 (patch)
tree7f1076e1b384e2fd04fdc67d452236d3d6468158 /app/views/journals
parent7e5bad993de613e5618a651a0f822f5e4fa0d941 (diff)
downloadredmine-cd39b12f2cf1b74de77ff7d6f52d310c13dff0e4.tar.gz
redmine-cd39b12f2cf1b74de77ff7d6f52d310c13dff0e4.zip
Removes a call to form_remote_tag.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10034 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/journals')
-rw-r--r--app/views/journals/_notes_form.html.erb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/journals/_notes_form.html.erb b/app/views/journals/_notes_form.html.erb
index f039b478c..5e02df1ca 100644
--- a/app/views/journals/_notes_form.html.erb
+++ b/app/views/journals/_notes_form.html.erb
@@ -1,4 +1,6 @@
-<%= form_remote_tag(:url => {}, :html => { :id => "journal-#{@journal.id}-form" }) do %>
+<%= form_tag({:controller => 'journals', :action => 'edit', :id => @journal},
+ :remote => true,
+ :id => "journal-#{@journal.id}-form") do %>
<%= label_tag "notes", l(:description_notes), :class => "hidden-for-sighted" %>
<%= text_area_tag :notes, @journal.notes,
:id => "journal_#{@journal.id}_notes",