0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00

Disable image/document Update button on click (#6676)

This commit is contained in:
Michael Brown 2021-01-08 13:24:03 -05:00 committed by Matt Westcott
parent 5f7181e05d
commit 30ec4631d2
3 changed files with 4 additions and 2 deletions

View File

@ -20,6 +20,7 @@ Changelog
* Fix: Prevent error on copying pages with ClusterTaggableManager relations and multi-level inheritance (Chris Pollard)
* Fix: Prevent failure on root page when registering the Page model with ModelAdmin (Jake Howard)
* Fix: Prevent error when filtering page search results with a malformed content_type (Chris Pollard)
* Fix: Prevent multiple submissions of "update" form when uploading images / documents (Mike Brown)
2.13.2 (17.06.2021)

View File

@ -31,6 +31,7 @@ Bug fixes
* Prevent error on copying pages with ClusterTaggableManager relations and multi-level inheritance (Chris Pollard)
* Prevent failure on root page when registering the Page model with ModelAdmin (Jake Howard)
* Prevent error when filtering page search results with a malformed content_type (Chris Pollard)
* Prevent multiple submissions of "update" form when uploading images / documents (Mike Brown)
Upgrade considerations
======================

View File

@ -1,4 +1,4 @@
{% load i18n %}
{% load wagtailadmin_tags i18n %}
{% include "wagtailadmin/shared/non_field_errors.html" %}
@ -13,7 +13,7 @@
{% endif %}
{% endfor %}
<li>
<input type="submit" value="{% trans 'Update' %}" class="button" />
<button type="submit" class="button button-longrunning">{% icon name="spinner" %}{% trans 'Update' %}</button>
<a href="{{ delete_action }}" class="delete button button-secondary no">{% trans "Delete" %}</a>
</li>
</ul>