From cd39b12f2cf1b74de77ff7d6f52d310c13dff0e4 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Wed, 18 Jul 2012 18:35:25 +0000 Subject: [PATCH] Removes a call to form_remote_tag. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10034 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/journals/_notes_form.html.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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",