1var WebinarHelper = new function () { 2 $(document).ready(function () { 3 // Handler for .ready() called. 4 WebinarHelper.SearchSubmit(); 5 }); 6 7 this.SearchSubmit = function (backToFirstPage) { 8 9 if ($('#webinarSearchForm').length < 1) 10 return false; 11 12 if (backToFirstPage == true) { } 13 else 14 $(".current-page").val(1); 15 var data = $('#webinarSearchForm').serialize(); 16 WebinarHelper.GetResult(data); 17 WebinarHelper.GetResultCount(data); 18 } 19 20 this.GetResult = function (dataSerialize) { 21 $('#webinarResult').addClass('disabledbutton'); 22 CommonHelper.ShowLoader(); 23 $.ajax({ 24 url: '/' + languageUI + '/Document/Webinar', 25 method: 'post', 26 data: dataSerialize, 27 async: true 28 }).done(function (output) { 29 $("#webinarResult").html(output); 30 CommonHelper.HideLoader(); 31 $('#webinarResult').removeClass('disabledbutton'); 32 }); 33 } 34 35 this.GetResultCount = function (dataSerialize) { 36 $('#webinarResult').addClass('disabledbutton'); 37 CommonHelper.ShowLoader(); 38 $.ajax({
39 url: '/' + languageUI + '/Document/GetWebinarResultCount', 40 method: 'post', 41 data: dataSerialize, 42 async: true 43 }).done(function (output) { 44 $('.pagination-webinar').pagination({ 45 prevText: '<', 46 nextText: '>', 47 currentPage: $('.current-page').val(), 48 items: output, 49 itemsOnPage: 10, 50 cssStyle: 'light-theme', 51 onPageClick: function (pageNumber, event) { 52 $(".current-page").val(pageNumber); 53 WebinarHelper.SearchSubmit(true); 54 } 55 }); 56 }); 57 } 58}
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.