PageSourceSearch

https://www.univ-larochelle.fr/wp-content/plugins/mailjet-for-word…/js/front-widget.js?ver=6.7.9

js univ-larochelle.fr collected 2026-09-24 08:46:20 UTC 1,232 bytes, 36 lines download raw bytes

1(function ($) {
2    "use strict";
3    $(function () {
4
5        $(document).on('submit', 'form#mailjetSubscriptionForm', function (event) {
6            event.preventDefault();
7
8            const form = $(this);
9            const message = $('.mailjet_widget_form_message');
10            $('.mj_form_property').removeClass('has-error');
11
12            jQuery.ajax({
13                url : mjWidget.ajax_url,
14                type : 'post',
15                data : form.serializeArray(),
16                success : function(response) {
17                    try {
18                        var data = JSON.parse(response);
19
20                        if (data.prop_errors) {
21                            $.each(data.prop_errors, function() {
22                                var propInput = $('.mj_form_property[name="properties['+this+']"]');
23                                propInput.addClass('has-error');
24                            });
25                        }
26                    } catch (e) {
27                        message.text(response);
28                    }
29                },
30                error : function(err) {
31                    message.text('An error occurred.');
32                }
33            });
34        });
35    });
36}(jQuery));

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.