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 %} >