diff --git a/app/views/wiki/edit.rhtml b/app/views/wiki/edit.rhtml index 43f2ba5fa..56ed5d8d3 100644 --- a/app/views/wiki/edit.rhtml +++ b/app/views/wiki/edit.rhtml @@ -17,25 +17,11 @@

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

- +<%= wikitoolbar_for 'content_text' %> <% end %> -<% if Setting.text_formatting == 'textile' %> -<%= javascript_include_tag 'jstoolbar' %> - -<% end %> - -
\ No newline at end of file +