Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

Commit

Permalink
bug 1260197 - change button type to prevent multiple POSTs
Browse files Browse the repository at this point in the history
  • Loading branch information
dchukhin committed Aug 22, 2016
1 parent bef39a6 commit 98b79b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kuma/wiki/jinja2/wiki/includes/page_buttons.html
Expand Up @@ -21,7 +21,7 @@
{% if document %}
{# No save-and-edit on new pages because slug changes confuse it #}
<li>
<button type="submit" class="button positive btn-save-and-edit" data-optimizely-hook="button-save-and-keep-editing button-save-and-keep-editing-{{ location }}"><span>{{ _('Publish and Keep Editing') }}</span><i aria-hidden="true" class="icon-edit"></i></button>
<button type="button" class="button positive btn-save-and-edit" data-optimizely-hook="button-save-and-keep-editing button-save-and-keep-editing-{{ location }}"><span>{{ _('Publish and Keep Editing') }}</span><i aria-hidden="true" class="icon-edit"></i></button>
</li>
{% endif %}
<li>
Expand Down

0 comments on commit 98b79b0

Please sign in to comment.