diff --git a/app/views/wiki/edit.rhtml b/app/views/wiki/edit.rhtml index 368ab098..7579527c 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 %>