From cdb29302e432e6b9f34597bf47bae6824e60935f Mon Sep 17 00:00:00 2001 From: nod_ <nod_@598310.no-reply.drupal.org> Date: Sat, 1 Jun 2024 14:38:01 +0200 Subject: [PATCH] Issue #3451738 by Grimreaper, BramDriesen: Remove JavaScript from Views configuration form now that it is only CSS --- core/modules/views/config/schema/views.style.schema.yml | 2 +- core/modules/views/src/Plugin/views/style/Table.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/modules/views/config/schema/views.style.schema.yml b/core/modules/views/config/schema/views.style.schema.yml index b2d7fdbe00e4..11fca4295da4 100644 --- a/core/modules/views/config/schema/views.style.schema.yml +++ b/core/modules/views/config/schema/views.style.schema.yml @@ -108,7 +108,7 @@ views.style.table: label: 'Override normal sorting if click sorting is used' sticky: type: boolean - label: 'Enable Drupal style "sticky" table headers (JavaScript)' + label: 'Enable Drupal style "sticky" table headers' summary: type: label label: 'Summary title' diff --git a/core/modules/views/src/Plugin/views/style/Table.php b/core/modules/views/src/Plugin/views/style/Table.php index 078c63d8a860..4eadd29daa48 100644 --- a/core/modules/views/src/Plugin/views/style/Table.php +++ b/core/modules/views/src/Plugin/views/style/Table.php @@ -218,7 +218,7 @@ public function buildOptionsForm(&$form, FormStateInterface $form_state) { $form['sticky'] = [ '#type' => 'checkbox', - '#title' => $this->t('Enable Drupal style "sticky" table headers (JavaScript)'), + '#title' => $this->t('Enable Drupal style "sticky" table headers'), '#default_value' => !empty($this->options['sticky']), '#description' => $this->t('(Sticky header effects will not be active for preview below, only on live output.)'), ]; -- GitLab