PageSourceSearch

https://www.bu.com.co/modules/custom/searcher_modal/js/search_block_form.js?tlkcss

js bu.com.co collected 2026-10-06 09:31:51 UTC 830 bytes, 17 lines download raw bytes

1(function ($, Drupal) {
2  'use strict';
3  Drupal.behaviors.buSearchBlockForm = {
4    attach: function (context, settings) {
5      var $blockSearchContainer = $('.block-search', context);
6      var $blockSearchButton = $blockSearchContainer.find('form .input-group .input-group-btn button');
7      var $keysInput = $blockSearchContainer.find('form .input-group input[name="keys"]');
8      var $fullSearchInput = $blockSearchContainer.find('form input[name="fulltext_input"]');
9      var $blockSearchFormSubmitButton = $blockSearchContainer.find('form .form-actions button[data-drupal-selector="edit-submit"]');
10      $blockSearchButton.on('click', function (event) {
11        event.preventDefault();
12        $fullSearchInput.val($keysInput.val());
13        $blockSearchFormSubmitButton.click();
14      })
15    }
16  }
17})(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.