PageSourceSearch

https://chocolate-magazin.ru/bitrix/templates/aspro-premier/components/bitrix/subscribe.edit/footer/script.js

js chocolate-magazin.ru collected 2026-10-07 14:44:31 UTC 471 bytes, 22 lines download raw bytes

1BX.ready(function () {
2  BX.Aspro.Loader.addExt([
3    'validate'
4  ]).then(() => {
5    $('form.subscribe-form').validate({
6      submitHandler: function (form) {
7        if ($(form).valid()) {
8          BX.onCustomEvent('onSubmitForm', [{
9              type: 'form_submit',
10              form: form,
11              form_name: 'subscribe-footer',
12          }]);
13        }
14      },
15      rules: {
16        EMAIL: {
17          email: true,
18        }
19      },
20    });
21  });
22});

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.