From 39c6442084a818e414f39739e23efe2378bd1ab3 Mon Sep 17 00:00:00 2001 From: kevwhitt-hee Date: Fri, 18 Oct 2024 16:09:35 +0100 Subject: [PATCH 1/3] TD-4920 Removes the select all/deselect all checkboxes --- .../Scripts/learningPortal/selfAssessment.ts | 4 ---- .../ManageOptionalCompetencies.cshtml | 14 ++------------ 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/DigitalLearningSolutions.Web/Scripts/learningPortal/selfAssessment.ts b/DigitalLearningSolutions.Web/Scripts/learningPortal/selfAssessment.ts index 9f98a2ec71..35325bcf79 100644 --- a/DigitalLearningSolutions.Web/Scripts/learningPortal/selfAssessment.ts +++ b/DigitalLearningSolutions.Web/Scripts/learningPortal/selfAssessment.ts @@ -1,5 +1,3 @@ -import * as Checkboxes from '../checkboxes'; - function onSliderUpdate(inputElement: HTMLInputElement) { const selectedRatio = parseInt(inputElement.value, 10) / parseInt(inputElement.max, 10); // eslint-disable-next-line no-param-reassign @@ -15,5 +13,3 @@ inputs.forEach((e) => onSliderUpdate(e)); inputs.forEach((e) => { e.addEventListener('change', () => onSliderUpdate(e)); }); - -Checkboxes.default.setUpSelectAndDeselectInGroupButtons(); diff --git a/DigitalLearningSolutions.Web/Views/LearningPortal/SelfAssessments/ManageOptionalCompetencies.cshtml b/DigitalLearningSolutions.Web/Views/LearningPortal/SelfAssessments/ManageOptionalCompetencies.cshtml index c635dc4bc9..0caaac3b7e 100644 --- a/DigitalLearningSolutions.Web/Views/LearningPortal/SelfAssessments/ManageOptionalCompetencies.cshtml +++ b/DigitalLearningSolutions.Web/Views/LearningPortal/SelfAssessments/ManageOptionalCompetencies.cshtml @@ -94,7 +94,7 @@ else {
- +