From: Jean-Philippe Lang Date: Tue, 3 Apr 2007 22:24:59 +0000 (+0000) Subject: Fixed 9793 Preview fail for first wiki page of a project X-Git-Tag: 0.5.0~33 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=18a6b8e1012c2b777f9543dda4d8c4e3808cc7f8;p=redmine.git 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 --- 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')",