diff --git a/app/views/wiki/edit.rhtml b/app/views/wiki/edit.rhtml index 368ab098b..7579527c8 100644 --- a/app/views/wiki/edit.rhtml +++ b/app/views/wiki/edit.rhtml @@ -19,11 +19,13 @@ { :url => { :controller => 'wiki', :action => 'preview', :id => @project, :page => @page.title }, :method => 'post', :update => 'preview', - :with => "Form.serialize('wiki_form')" + :with => "Form.serialize('wiki_form')", + :complete => "location.href='#preview-top'" } %>
<%= wikitoolbar_for 'content_text' %> <% end %> + <% content_for :header_tags do %>