PageSourceSearch

https://www.fnath.org/wp-content/themes/acti_main/tpl/js/scripts-tech.js?ver=7.1.2

js fnath.org collected 2026-10-02 10:17:03 UTC 2,458 bytes, 87 lines download raw bytes

1(function ($) {
2
3    /*--- javascript strict mode ---*/
4    "use strict";
5
6    // News
7    var newsFilters = '#tech-newsFilters';
8    var newsResults = '#tech-filterResultsNews';
9
10    // PressRelease
11    var pressReleaseFilters = '#tech-pressReleaseFilters';
12    var pressReleaseResults = '#tech-filterResultsPressRelease';
13
14    // jQuery
15    $(function () {
16
17        /** ***************
18         *     FILTERS
19         * ****************/
20        /**
21         * News page
22         */
23        $(newsResults).on('change', '#thematique', function () {
24            var form = $(newsFilters).serializeArray();
25            $.post(
26                ajaxurl,
27                {
28                    'action': 'filterNews',
29                    'form': form,
30                },
31                function (response) {
32                    // reload results
33                    $(newsResults).html(response);
34                }
35            );
36        });
37        $(newsResults).on('change', '#publishedYear', function () {
38            var form = $(newsFilters).serializeArray();
39            $.post(
40                ajaxurl,
41                {
42                    'action': 'filterNews',
43                    'form': form,
44                },
45                function (response) {
46                    // reload results
47                    $(newsResults).html(response);
48                }
49            );
50        });
51
52        /**
53         * PressRelease page
54         */
55        $(pressReleaseResults).on('change', '#thematique', function () {
56            var form = $(pressReleaseFilters).serializeArray();
57            $.post(
58                ajaxurl,
59                {
60                    'action': 'filterPressRelease',
61                    'form': form,
62                },
63                function (response) {
64                    // reload results
65                    $(pressReleaseResults).html(response);
66                }
67            );
68        });
69        $(pressReleaseResults).on('change', '#publishedYear', function () {
70            var form = $(pressReleaseFilters).serializeArray();
71            $.post(
72                ajaxurl,
73                {
74                    'action': 'filterPressRelease',
75                    'form': form,
76                },
77                function (response) {
78                    // reload results
79                    $(pressReleaseResults).html(response);
80                }
81            );
82        });
83
84    }); // fin jQuery
85
86})(jQuery);
87

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.