1"use strict"; 2$(document).ready(function() { 3 $(document).on('click', '.modalBtn', function(e) { 4 e.preventDefault(); 5 var title = $(this).data('title'); 6 var modalsize = $(this).data('modalsize'); 7 if(modalsize !=""){ 8 $("#modalSize").addClass(modalsize); 9 } 10 if(title != "" && title !=null){ 11 $(".modal-title").text(title); 12 } 13 var url = $(this).data('url'); 14 $('#modal-main-content').html(''); 15 $('#modal-loader').show(); 16 $.ajax({ 17 url: url, 18 type: 'get', 19 dataType: 'html' 20 }) 21 .done(function(data) { 22 $('#modal-main-content').html(''); 23 $('#modal-main-content').html(data); 24 $('#modal-loader').hide(); 25 }) 26 .fail(function() { 27 $('#modal-main-content').html('<i class="glyphicon glyphicon-info-sign"></i> Something went wrong...'); 28 $('#modal-loader').hide(); 29 }); 30 }); 31 $(".regular-btn").click(function(){ 32 $("#pickup-request").modal('hide'); 33 }); 34 $(".express-btn").click(function(){ 35 $("#pickup-request").modal('hide'); 36 }); 37 38 39});
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.