Файл: public/assets/js/ajax/ajax_file.js
Строк: 29
<?php
$(document).ready(function() {
if(exists("form[rel]"))
return!0;
exists('form > input[name="file"]')&&($('form > input[name="file"]').after('<div id="progressbar" class="progress-bar blue stripes"><span></span></div>'),$(document).on('change', ':file',function(){var a=0,b=$(this)[0].files,d=b.length;for($("#size_file").remove();a<d;a++)$('form > input[name="file"]').after('<span id="size_file" style="margin:0px 10px">'+bytes(b[a].size)+"</span>"),exists('form > input[name="name"]')&&$('form > input[name="name"]').val(b[a].name.split(".")[0])}));
});
?>