kopia lustrzana https://github.com/wagtail/wagtail
Add type="button" to 'set privacy button' (#6882)
rodzic
f9d1ec0bf7
commit
400bc57536
|
@ -20,6 +20,7 @@ Changelog
|
|||
* Fix: Move labels above the form field in the image format chooser, to avoid styling issues at tablet size (Helen Chapman)
|
||||
* Fix: `{% include_block with context %}` now passes local variables into the block template (Jonny Scholes)
|
||||
* Fix: Fix pagination on 'view users in a group' (Sagar Agarwal)
|
||||
* Fix: Prevent page privacy menu from being triggered by pressing enter on a char field (Sagar Agarwal)
|
||||
|
||||
|
||||
2.12.3 (05.03.2021)
|
||||
|
|
|
@ -39,6 +39,7 @@ Bug fixes
|
|||
* Show 'required' asterisks for blocks inside required StreamFields (Matt Westcott)
|
||||
* Make image chooser "Select format" fields translatable (Helen Chapman, Thibaud Colas)
|
||||
* Fix pagination on 'view users in a group' (Sagar Agarwal)
|
||||
* Prevent page privacy menu from being triggered by pressing enter on a char field (Sagar Agarwal)
|
||||
|
||||
|
||||
Upgrade considerations
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
</p>
|
||||
|
||||
{% if page.id and page_perms.can_set_view_restrictions %}
|
||||
<button data-url="{% url 'wagtailadmin_pages:set_privacy' page.id %}" class="button action-set-privacy">
|
||||
<button type="button" data-url="{% url 'wagtailadmin_pages:set_privacy' page.id %}" class="button action-set-privacy">
|
||||
{% trans "Set page privacy" %}
|
||||
</button>
|
||||
{% endif %}
|
||||
|
|
Ładowanie…
Reference in New Issue