From 53fe2049d684d7c7bd3e0c67e5d5dd203b6bbc7d Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Tue, 19 May 2015 14:48:38 +0100
Subject: [PATCH] Issue #2489420 by Bojhan: Simply AJAX use form

---
 .../views/src/Plugin/views/display/DisplayPluginBase.php      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php b/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
index 06a34672f7fa..47f90250fb47 100644
--- a/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
+++ b/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
@@ -1459,9 +1459,9 @@ public function buildOptionsForm(&$form, FormStateInterface $form_state) {
         );
         break;
       case 'use_ajax':
-        $form['#title'] .= $this->t('Use AJAX when available to load this view');
+        $form['#title'] .= $this->t('AJAX');
         $form['use_ajax'] = array(
-          '#description' => $this->t('When viewing a view, things like paging, table sorting, and exposed filters will not trigger a page refresh.'),
+          '#description' => $this->t('Options such as paging, table sorting, and exposed filters will not initiate a page refresh.'),
           '#type' => 'checkbox',
           '#title' => $this->t('Use AJAX'),
           '#default_value' => $this->getOption('use_ajax') ? 1 : 0,
-- 
GitLab