From a4b3c34484db8700ca99962658d3c92067a74b22 Mon Sep 17 00:00:00 2001 From: Matt Westcott Date: Mon, 30 Oct 2023 15:00:36 +0000 Subject: [PATCH] Remove legacy wagtail:show and wagtail:hide events from dialog --- wagtail/admin/templates/wagtailadmin/shared/dialog/dialog.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wagtail/admin/templates/wagtailadmin/shared/dialog/dialog.html b/wagtail/admin/templates/wagtailadmin/shared/dialog/dialog.html index 28bf530d09..4e35f0462e 100644 --- a/wagtail/admin/templates/wagtailadmin/shared/dialog/dialog.html +++ b/wagtail/admin/templates/wagtailadmin/shared/dialog/dialog.html @@ -8,7 +8,7 @@ aria-hidden="true" class="w-dialog {% if theme %}w-dialog--{{ theme }}{% endif %} {% if classname %} {{ classname }}{% endif %}" 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 data_url %}data-url="{{ data_url }}"{% endif %} >