PageSourceSearch

https://queenslibrary.org/themes/bootstrap/js/modules/views/ajax_view.js?tl8z8n

js queenslibrary.org collected 2026-09-24 08:48:01 UTC 619 bytes, 24 lines download raw bytes

1/**
2 * @file
3 * Extends core ajax_view.js.
4 */
5
6(function ($, Drupal) {
7  'use strict';
8
9  /**
10   * @method
11   */
12  Drupal.views.ajaxView.prototype.attachExposedFormAjax = function () {
13    var that = this;
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'),
18        element: this
19      });
20      that.exposedFormAjax[index] = Drupal.ajax(self_settings);
21    });
22  };
23
24})(jQuery, Drupal);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.