fixed the "preview" link on wiki/edit
git-svn-id: http://redmine.rubyforge.org/svn/trunk@326 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
dd83445fd7
commit
5b135c07d0
|
@ -10,7 +10,7 @@
|
||||||
<p><label><%= l(:field_comment) %></label><br /><%= f.text_field :comment, :size => 120 %></p>
|
<p><label><%= l(:field_comment) %></label><br /><%= f.text_field :comment, :size => 120 %></p>
|
||||||
<p><%= submit_tag l(:button_save) %>
|
<p><%= submit_tag l(:button_save) %>
|
||||||
<%= link_to_remote l(:label_preview),
|
<%= link_to_remote l(:label_preview),
|
||||||
{ :url => { :controller => 'wiki', :action => 'preview' },
|
{ :url => { :controller => 'wiki', :action => 'preview', :id => @project },
|
||||||
:method => 'get',
|
:method => 'get',
|
||||||
:update => 'preview',
|
:update => 'preview',
|
||||||
:with => "Form.serialize('wiki_form')",
|
:with => "Form.serialize('wiki_form')",
|
||||||
|
|
Loading…
Reference in New Issue