data.context.find('.progress-info').text('Pominięto');
}
- $.getJSON('{% url 'filex:info' %}', {host: host, path: path + file.name}, function(response) {
+ $.getJSON('{% url 'filex:info' %}', {host: host, path: path + '/' + file.name}, function(response) {
if (applyToAll != undefined) {
finish(applyToAll);
return;
data.context.find('.progress-info').text('Zakończono');
},
fail: function (e, data) {
- data.context.find('.progress-info').text('Błąd');
+ data.context.find('.progress-info').text((data.jqXHR.responseJSON || {}).error || 'Błąd');
console.error(data);
}
});