Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
53fe2049
Commit
53fe2049
authored
May 19, 2015
by
alexpott
Browse files
Issue
#2489420
by Bojhan: Simply AJAX use form
parent
9a668adf
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
View file @
53fe2049
...
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment