PageSourceSearch

https://www.jcdecaux.com/modules/custom/jcdecaux_search/js/header_search_form.js?tm6q2t

js jcdecaux.com collected 2026-10-01 10:43:58 UTC 613 bytes, 26 lines download raw bytes

1/**
2 * @file
3 * Defines the behavior for the header search form.
4 */
5
6(function ($, Drupal) {
7
8  'use strict';
9
10  /**
11   * Submit search form.
12   */
13  Drupal.behaviors.submitHeaderSearchForm = {
14    attach: function (context) {
15      // Submit search form in header after clicking on search icon.
16      $(once('submitHeaderSearchForm', 'form#jcdecaux-header-search-form', context)).each(function () {
17        var $link = $(this).find('a.btn-sbumit');
18        $link.click(function (e) {
19          e.preventDefault();
20          $(this).parent('form').submit();
21        });
22      });
23    }
24  };
25
26})(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.