0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-24 01:57:32 +01:00

Remove legacy wagtail:show and wagtail:hide events from dialog

This commit is contained in:
Matt Westcott 2023-10-30 15:00:36 +00:00
parent 7e8434d02d
commit a4b3c34484

View File

@ -8,7 +8,7 @@
aria-hidden="true" aria-hidden="true"
class="w-dialog {% if theme %}w-dialog--{{ theme }}{% endif %} {% if classname %} {{ classname }}{% endif %}" class="w-dialog {% if theme %}w-dialog--{{ theme }}{% endif %} {% if classname %} {{ classname }}{% endif %}"
data-controller="w-dialog" data-controller="w-dialog"
data-action="w-dialog:hide->w-dialog#hide w-dialog:show->w-dialog#show {% comment %} RemovedInWagtail60 - Remove the following two actions. {% endcomment %}wagtail:hide->w-dialog#hide wagtail:show->w-dialog#show" data-action="w-dialog:hide->w-dialog#hide w-dialog:show->w-dialog#show"
{% if theme %}data-w-dialog-theme-value="{{ theme }}"{% endif %} {% if theme %}data-w-dialog-theme-value="{{ theme }}"{% endif %}
{% if data_url %}data-url="{{ data_url }}"{% endif %} {% if data_url %}data-url="{{ data_url }}"{% endif %}
> >