Verified Commit ba0a3ad0 authored by Théodore Biadala's avatar Théodore Biadala
Browse files

Issue #3451738 by Grimreaper, BramDriesen: Remove JavaScript from Views...

Issue #3451738 by Grimreaper, BramDriesen: Remove JavaScript from Views configuration form now that it is only CSS

(cherry picked from commit cdb29302)
parent 170919be
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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'
+1 −1
Original line number Diff line number Diff line
@@ -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.)'),
    ];