Update core 8.3.0
This commit is contained in:
parent
da7a7918f8
commit
cd7a898e66
6144 changed files with 132297 additions and 87747 deletions
|
@ -187,13 +187,12 @@
|
|||
// Bind AJAX behaviors to all items showing the class.
|
||||
$('a.views-ajax-link', context).once('views-ajax').each(function () {
|
||||
var element_settings = base_element_settings;
|
||||
element_settings.base = base;
|
||||
element_settings.base = $(this).attr('id');
|
||||
element_settings.element = this;
|
||||
// Set the URL to go to the anchor.
|
||||
if ($(this).attr('href')) {
|
||||
element_settings.url = $(this).attr('href');
|
||||
}
|
||||
var base = $(this).attr('id');
|
||||
Drupal.ajax(element_settings);
|
||||
});
|
||||
|
||||
|
@ -213,9 +212,8 @@
|
|||
|
||||
element_settings.wrapper = 'views-preview-wrapper';
|
||||
element_settings.method = 'replaceWith';
|
||||
element_settings.base = base;
|
||||
element_settings.base = $(this).attr('id');
|
||||
element_settings.element = this;
|
||||
var base = $(this).attr('id');
|
||||
Drupal.ajax(element_settings);
|
||||
});
|
||||
|
||||
|
@ -239,10 +237,9 @@
|
|||
element_settings.wrapper = 'views-preview-wrapper';
|
||||
element_settings.method = 'replaceWith';
|
||||
element_settings.event = 'click';
|
||||
element_settings.base = base;
|
||||
element_settings.base = $(this).attr('id');
|
||||
element_settings.element = this;
|
||||
|
||||
var base = $(this).attr('id');
|
||||
Drupal.ajax(element_settings);
|
||||
});
|
||||
|
||||
|
|
|
@ -483,18 +483,18 @@
|
|||
* An array of all the filterable options.
|
||||
*/
|
||||
getOptions: function ($allOptions) {
|
||||
var $label;
|
||||
var $title;
|
||||
var $description;
|
||||
var $option;
|
||||
var options = [];
|
||||
var length = $allOptions.length;
|
||||
for (var i = 0; i < length; i++) {
|
||||
$option = $($allOptions[i]);
|
||||
$label = $option.find('label');
|
||||
$title = $option.find('.title');
|
||||
$description = $option.find('.description');
|
||||
options[i] = {
|
||||
// Search on the lowercase version of the label text + description.
|
||||
searchText: $label.text().toLowerCase() + ' ' + $description.text().toLowerCase(),
|
||||
// Search on the lowercase version of the title text + description.
|
||||
searchText: $title.text().toLowerCase() + ' ' + $description.text().toLowerCase(),
|
||||
// Maintain a reference to the jQuery object for each row, so we don't
|
||||
// have to create a new object inside the performance-sensitive keyup
|
||||
// handler.
|
||||
|
@ -708,6 +708,7 @@
|
|||
// When the link is clicked, dynamically click the hidden form button
|
||||
// for adding a new filter group.
|
||||
.once('views-rearrange-filter-handler')
|
||||
.find('#views-add-group-link')
|
||||
.on('click.views-rearrange-filter-handler', $.proxy(this, 'clickAddGroupButton'));
|
||||
|
||||
// Find each (visually hidden) button for removing a filter group and
|
||||
|
|
Reference in a new issue