1$(document).ready(function () { 2 var galleryId = $("#auto-play-photo-gallery-id").val(); 3 if (galleryId != undefined) { 4 $.ajax( 5 { 6 url: "/photo/photos/", 7 type: 'GET', 8 data: { id: galleryId } 9 }).success(function (result) { 10 11 $("#Photos").html(result) 12 $("#Photos").modal("show"); 13 }); 14 } 15 16}); 17 18$(document).on("click", ".Photos", function (e) { 19 e.preventDefault(); 20 21 var galleryId = $(this).attr("data-galleryId") 22 23 $.ajax( 24 { 25 url: "/photo/photos/", 26 type: 'GET', 27 data: { id: galleryId } 28 }).success(function (result) { 29 $("#Photos").html(result) 30 31 32 33 //$('#share-url-og').attr('content', $("#share-url").val()); 34 //$('#share-image-og').attr('content', $("#share-image").val()); 35 //$('#share-title-og').attr('content', $("#share-title").val()); 36 37 $("#Photos").modal("show"); 38 }); 39 40 return false; 41 42}); 43 44
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.