From da2c287b4b18698a78eb15a10d7a474577364034 Mon Sep 17 00:00:00 2001 From: Alex Jurubita Date: Thu, 19 Sep 2019 12:59:18 +0100 Subject: [PATCH 1/2] Fix missing jQuery from error pages --- app/assets/javascripts/error-page.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/error-page.js b/app/assets/javascripts/error-page.js index 2ffeeeb6b..fa6a6433b 100644 --- a/app/assets/javascripts/error-page.js +++ b/app/assets/javascripts/error-page.js @@ -1 +1,2 @@ +//= require libs/jquery/jquery-1.12.4.js //= require govuk_publishing_components/all_components From 22d6dc8ad55aba1554c0de65f79172beeadec22f Mon Sep 17 00:00:00 2001 From: Alex Jurubita Date: Thu, 19 Sep 2019 12:59:59 +0100 Subject: [PATCH 2/2] Raise compatibility flag on error page --- app/assets/stylesheets/error-page.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/error-page.scss b/app/assets/stylesheets/error-page.scss index 5de314148..286841909 100644 --- a/app/assets/stylesheets/error-page.scss +++ b/app/assets/stylesheets/error-page.scss @@ -1 +1,2 @@ -@import 'govuk_publishing_components/all_components'; +$govuk-compatibility-govuktemplate: true; +@import "govuk_publishing_components/all_components";