1 2function sp_cdm_link_go(url){ 3 window.open(url,'_blank'); 4 5} 6 7jQuery( document ).ready(function($) { 8 9 10 11 12 13 //load edit form 14 $( document ).on( "submit", "#cdm_embed_link", function() { 15 16 17 18 $.ajax({ 19 type: "POST", 20 url: sp_cdm_link.ajax, 21 data:$(this).serialize(), 22 success: function (msg) { 23 var obj = jQuery.parseJSON(msg); 24 25 if(obj.success == 1){ 26 27 28 29 30 cdmCloseModal('add-link'); 31 $('#cdm_embed_link')[0].reset(); 32 cdmViewFile(obj.file_id); 33 cdm_ajax_search(); 34 cdmViewFile(obj.file_id); 35 36 } 37 38 } 39 40 }); 41 return false; 42 }); 43 44 45});
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.