3 * Extends core ajax_view.js.
6 (function ($, Drupal) {
12 Drupal.views.ajaxView.prototype.attachExposedFormAjax = function () {
14 this.exposedFormAjax = [];
15 $('button[type=submit], input[type=submit], input[type=image]', this.$exposed_form).not('[data-drupal-selector=edit-reset]').each(function (index) {
16 var self_settings = $.extend({}, that.element_settings, {
17 base: $(this).attr('id'),
20 that.exposedFormAjax[index] = Drupal.ajax(self_settings);