PageSourceSearch

https://mdt-dodin.ru/static/search.js?v=060422

js mdt-dodin.ru collected 2026-10-02 10:43:32 UTC 1,170 bytes, 36 lines download raw bytes

1function add_input(v, e) {
2    e.append('<input type="hidden" name="models" value="'+v+'">');    
3}
4
5$( ".search_form" ).submit(function(event) {
6    var e = $(this);
7    if ($('input[type=checkbox]:checked', e).length) {
8        $('input[type=checkbox]:checked', e).each(function( ) {
9            switch($(this).attr('name')) {
10                case 'newsSearch':
11                    add_input('news.news', e);
12                    add_input('news.publication', e);
13                    add_input('media.photoalbum', e);
14                    break;
15                case 'repertoireSearch':
16                    add_input('plays.play', e);
17                    break;
18                case 'posterSearch':
19                    //add_input('plays.event', e);
20                    break;
21                case 'troupeSearch':
22                    add_input('persons.person', e);
23                    break;
24                case 'aboutSearch':
25                    add_input('pages.flatpage', e);
26                    break;
27                default:
28                    break;
29            }
30        });
31        return true;    
32    } else {
33        event.preventDefault();
34    }
35    
36});

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.