1 2// Declarations // 3var lstBranches = []; 4 5// Document Ready // 6$(document).ready(function () { 7 8 load_data(); 9}); 10 11function fill_branches() { 12 13 var htmlResult = []; 14 for (var i = 0; i < lstBranches.length; i++) { 15 16 htmlResult += '<div class="card w-100 item-car">' 17 + '<div class="row no-gutters">' 18 19 + '<div class="col-md-8">' 20 + '<div class="card-body">' 21 22 + '<ul>' 23 + '<li><i></i> ' + resx.lbBranchName + ': ' + lstBranches[i].BranchName + '</li>' 24 + '<li><i></i> ' + resx.lbMobileNumber + ': <a href="tel:' + lstBranches[i].ManagerPhone + '" class="text-danger">' + lstBranches[i].ManagerPhone + '</a></li>' 25 + '<li><i></i> ' + resx.lbAddress + ': ' + lstBranches[i].Address + '</li>' 26 + '</ul>' //car-capacity 27 28 + '</div>' //card-body 29 30 + '</div>' //col-md-8 31 32 + '</div>' //row no-gutters 33 + '</div>' //card w-100 item-car 34 } 35 36 $("#divBranches").empty(); 37 $("#divBranches").html(htmlResult); 38} 39 40function load_data() { 41 42 var headers = { 'lang': $('#hdSystemLang').val(), 'TokenKey': $('#hdTokenKey').val() }; 43 var url = 'GetBookingBranches?companyCode=' + $('#hdCompanyId').val(); 44 common.ajaxCallWithHeader(hostUrl + url, "GET", headers, null, "json", success, error); 45 function success(data) { 46 47 if (data != null) { 48 49 lstBranches = data.data; 50 fill_branches(); 51 maps.initCitiesMap(lstBranches); 52 } 53 } 54 function error() { 55 56 common.showErrorMessage(ResRental1['msgLoadingDataError']); 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.