diff options
Diffstat (limited to 'app/views/wiki/_new_modal.html.erb')
-rw-r--r-- | app/views/wiki/_new_modal.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/wiki/_new_modal.html.erb b/app/views/wiki/_new_modal.html.erb index 2f9dcdb7f..108c6ad88 100644 --- a/app/views/wiki/_new_modal.html.erb +++ b/app/views/wiki/_new_modal.html.erb @@ -24,6 +24,6 @@ <p class="buttons"> <%= submit_tag l(:label_next), :name => nil %> - <%= submit_tag l(:button_cancel), :name => nil, :onclick => "hideModal(this);", :type => 'button' %> + <%= link_to_function l(:button_cancel), "hideModal(this);" %> </p> <% end %> |