about summary refs log tree commit diff
path: root/app/views/admin
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-12-15 15:47:23 +0100
committerGitHub <noreply@github.com>2022-12-15 15:47:23 +0100
commitbae6ef315ef6cd5cef8213ce84edbcba3eb3cec8 (patch)
tree8c88399547fabf88e29a3e2300ce6e96c69ca843 /app/views/admin
parent5fb1c3e934a1a782972ac2732ce7f0208c341ac2 (diff)
Fix missing Javascript in domain block import confirmation page (#21471)
Follow-up to #20597
Diffstat (limited to 'app/views/admin')
-rw-r--r--app/views/admin/export_domain_blocks/import.html.haml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/admin/export_domain_blocks/import.html.haml b/app/views/admin/export_domain_blocks/import.html.haml
index 01add232d..804e61199 100644
--- a/app/views/admin/export_domain_blocks/import.html.haml
+++ b/app/views/admin/export_domain_blocks/import.html.haml
@@ -1,6 +1,9 @@
 - content_for :page_title do
   = t('admin.export_domain_blocks.import.title')
 
+- content_for :header_tags do
+  = javascript_pack_tag 'admin', async: true, crossorigin: 'anonymous'
+
 %p= t('admin.export_domain_blocks.import.description_html')
 
 - if defined?(@global_private_comment) && @global_private_comment.present?