PageSourceSearch

https://insideinfo.com.au/sites/all/modules/orion/js/orion_lino.js?teylt5

js insideinfo.com.au collected 2026-09-30 04:27:54 UTC 1,425 bytes, 43 lines download raw bytes

1(function ($) {
2    Drupal.behaviors.OrionJs = {
3        attach: function (context, settings) {
4            /* CODE START */
5          
6            // alert('hi there spider!');
7            /* START autocomplete */
8            $('#edit-query--2, #edit-query').autocomplete({
9              // source: "/search/nodes/autocomplete/",
10              source: function( request, response ) {
11                  $.ajax( {
12                    url: "/search/nodes/autocomplete",
13                    dataType: "json",
14                    type: 'GET',
15                    data: {
16                      term: request.term,
17                    },
18                    success: function( data ) {
19                      response( data );
20                      // console.log(data);
21                    }
22                  } );
23                },
24              minLength: 2,
25              select: function( event, ui ) {
26                    console.log( "Selected: " + ui.item.id + " aka " + ui.item.value );
27                    window.location.href = ui.item.url;
28                  },
29              messages: {
30                  noResult: '',
31                  results: function() {}
32                },
33              classes: {
34                  "ui-autocomplete": "insideinfo-ui-autocomplete"
35                }
36            });
37            /* END autocomplete */
38          
39            
40            /* CODE END */
41        }
42    };
43})(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.