1$(function() { 2 $('tbody').filter('.sortable').sortable({ 3 }); 4 $('tbody').filter('.sortable').bind('sortstop', function (e, ui) { 5// var rows = $('.sortable .rank'); 6// for (var i = 0, rowTotal = rows.length; i < rowTotal; i += 1) { 7// $($('.rank')[i]).text(i + 1); 8// } 9 }); 10}); 11function setSortOrder(formName) { 12 var ids = $('.sortable .id'); 13 var setIds = ''; 14 for (var i = 0, idTotal = ids.length; i < idTotal; i += 1) { 15 if (setIds == '') { 16 setIds = ids[i].textContent; 17 } else { 18 setIds = setIds + '|' + ids[i].textContent; 19 } 20 } 21 document.forms[formName].ids.value = setIds; 22 document.forms[formName]._method.value = 'put'; 23 document.forms[formName].submit(); 24}
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.