From 18a6b8e1012c2b777f9543dda4d8c4e3808cc7f8 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Tue, 3 Apr 2007 22:24:59 +0000 Subject: [PATCH] Fixed 9793 Preview fail for first wiki page of a project git-svn-id: http://redmine.rubyforge.org/svn/trunk@411 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/wiki/edit.rhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/wiki/edit.rhtml b/app/views/wiki/edit.rhtml index 48025b368..0bc6322f9 100644 --- a/app/views/wiki/edit.rhtml +++ b/app/views/wiki/edit.rhtml @@ -15,7 +15,7 @@


<%= f.text_field :comment, :size => 120 %>

<%= submit_tag l(:button_save) %> <%= link_to_remote l(:label_preview), - { :url => { :controller => 'wiki', :action => 'preview', :id => @project }, + { :url => { :controller => 'wiki', :action => 'preview', :id => @project, :page => @page.title }, :method => 'get', :update => 'preview', :with => "Form.serialize('wiki_form')", -- 2.39.5