From 94e67aa1a5d80223f90337b17b2ad57fba7a52ed Mon Sep 17 00:00:00 2001 From: Dafydd Vaughan Date: Thu, 19 May 2016 13:11:33 +0100 Subject: [PATCH 1/2] =?UTF-8?q?Add=20HMRC=20webchat=20to=20=E2=80=98manage?= =?UTF-8?q?=20your=20tax=20credits=E2=80=99=20page?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Request from HMRC --- app/assets/javascripts/webchat.js.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/webchat.js.erb b/app/assets/javascripts/webchat.js.erb index 4c30128fa..92d5bb2a5 100644 --- a/app/assets/javascripts/webchat.js.erb +++ b/app/assets/javascripts/webchat.js.erb @@ -25,6 +25,7 @@ '/vat-registration/changes-to-your-details', '/government/organisations/hm-revenue-customs/contact/national-insurance-numbers', '/lost-national-insurance-number', + '/manage-your-tax-credits', ]; return ($.inArray(window.location.pathname, webchatEnabledPaths) >= 0); From ecf9652b040bfd3280ba5bc0979c79ea96707f1b Mon Sep 17 00:00:00 2001 From: Paul Bowsher Date: Fri, 20 May 2016 09:20:21 +0100 Subject: [PATCH 2/2] Remove trailing comma It would probably break IE --- app/assets/javascripts/webchat.js.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/webchat.js.erb b/app/assets/javascripts/webchat.js.erb index 92d5bb2a5..84392d389 100644 --- a/app/assets/javascripts/webchat.js.erb +++ b/app/assets/javascripts/webchat.js.erb @@ -25,7 +25,7 @@ '/vat-registration/changes-to-your-details', '/government/organisations/hm-revenue-customs/contact/national-insurance-numbers', '/lost-national-insurance-number', - '/manage-your-tax-credits', + '/manage-your-tax-credits' ]; return ($.inArray(window.location.pathname, webchatEnabledPaths) >= 0);