Remove useless X in the download table

pull/1/head
yflory 5 years ago
parent 3c6e127831
commit ae1e221bdc

@ -533,8 +533,7 @@ define([
createUploader(config.dropArea, config.hoverArea, config.body); createUploader(config.dropArea, config.hoverArea, config.body);
// XXX an X is still displayed when downloading, even though we can't cancel (at the moment) // TODO implement the ability to cancel downloads :D
// XXX implement the abiality to cancel downloads :D
var updateProgressbar = function (file, data, downloadFunction, cb) { var updateProgressbar = function (file, data, downloadFunction, cb) {
if (queue.inProgress) { return; } if (queue.inProgress) { return; }
queue.inProgress = true; queue.inProgress = true;
@ -625,10 +624,10 @@ define([
}); });
*/ */
/*
$row.find('.cp-fileupload-table-cancel') $row.find('.cp-fileupload-table-cancel')
.html('') .html('')
.append($cancel); */ .append(h('span.fa.fa-minus'));
//.append($cancel);
}; };
File.downloadFile = function (fData, cb) { File.downloadFile = function (fData, cb) {

Loading…
Cancel
Save