From 17898053d85c84fae5441d4615f7172a8a0cebd7 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Fri, 2 Jan 2026 16:59:12 +0100 Subject: [PATCH] #7866n @1 --- app/SubForms/Link/Base.php | 2 +- app/SubForms/Link/Tooltip.php | 1 + resources/linkeditor-stable/js/linkeditor.panels.js | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/SubForms/Link/Base.php b/app/SubForms/Link/Base.php index 8fa10816f..936361213 100644 --- a/app/SubForms/Link/Base.php +++ b/app/SubForms/Link/Base.php @@ -191,7 +191,7 @@ class Base extends Form return; } $this->addField('header_accessibility', FormSection::class, __('Accessibilité')); - $this->addField('accessibility', Checkbox::class, __('Ce lien aide à l\'accessibilité'), ['default' => false, 'hint' => __('Lorsque l\'utilisateur désactive les contenus, accessible, ce lien sera masqué')]); + $this->addField('accessibility', CheckboxBasic::class, __('Ce lien aide à l\'accessibilité'), ['default' => false, 'hint' => __('Lorsque l\'utilisateur désactive les contenus accessibles, ce lien sera masqué.')]); } public function addTooltipFields() diff --git a/app/SubForms/Link/Tooltip.php b/app/SubForms/Link/Tooltip.php index d3808231d..0e2876cf9 100644 --- a/app/SubForms/Link/Tooltip.php +++ b/app/SubForms/Link/Tooltip.php @@ -18,6 +18,7 @@ class Tooltip extends Base $this->addTypeField(); $this->addTooltipFields(); $this->addPositionFields(); + $this->addAccessibilityFields(); $this->addExtraFields(); } diff --git a/resources/linkeditor-stable/js/linkeditor.panels.js b/resources/linkeditor-stable/js/linkeditor.panels.js index c0d8b5741..46773cdd9 100644 --- a/resources/linkeditor-stable/js/linkeditor.panels.js +++ b/resources/linkeditor-stable/js/linkeditor.panels.js @@ -61,7 +61,7 @@ LinkeditorPanels.prototype = { return false; }); - $(document).on('click', ".linkeditor-panel label", function (e) { + $(document).on('click', ".linkeditor-panel:not(#linkeditor-panel-form) label", function (e) { if ($this.maskCheckEvents) { return false; } -- 2.39.5