1$(function () { 2 // https://github.com/christianbayer/image-uploader 3 4 let imageUploaderData = { 5 label: 'Dateien hier ablegen zum Hochladen', 6 imagesInputName: 'photos', 7 preloadedInputName: 'old', 8 maxSize: 10 * 1024 * 1024, 9 maxFiles: 3 10 }; 11 12 if ($('#preloadedimagesjson').length > 0) { 13 let preloadedimages = JSON.parse($('#preloadedimagesjson').val()); 14 if (preloadedimages) { 15 imageUploaderData.preloaded = preloadedimages; 16 } 17 } 18 19 $('.input-images').imageUploader(imageUploaderData); 20 21 $('#supplierspostsubmitbutton').click(function (e) { 22 e.preventDefault(); 23 if ($('.image-uploader').hasClass('has-files')) { 24 $('.input-images-label').removeClass('error'); 25 $('#supplierspostsubmitform').submit(); 26 } else { 27 $('.input-images-label').addClass('error'); 28 } 29 }); 30});
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.