Update to Drupal 8.0.0 beta 14. For more information, see https://drupal.org/node/2544542
This commit is contained in:
parent
3b2511d96d
commit
81ccda77eb
2155 changed files with 54307 additions and 46870 deletions
|
@ -108,14 +108,15 @@
|
|||
* @method
|
||||
*/
|
||||
Drupal.views.ajaxView.prototype.attachExposedFormAjax = function () {
|
||||
var button = $('input[type=submit], input[type=image]', this.$exposed_form);
|
||||
button = button[0];
|
||||
|
||||
var self_settings = $.extend({}, this.element_settings, {
|
||||
base: $(button).attr('id'),
|
||||
element: button
|
||||
var that = this;
|
||||
this.exposedFormAjax = [];
|
||||
$('input[type=submit], input[type=image]', this.$exposed_form).each(function (index) {
|
||||
var self_settings = $.extend({}, that.element_settings, {
|
||||
base: $(this).attr('id'),
|
||||
element: this
|
||||
});
|
||||
that.exposedFormAjax[index] = Drupal.ajax(self_settings);
|
||||
});
|
||||
this.exposedFormAjax = Drupal.ajax(self_settings);
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Reference in a new issue