From ae1e221bdc458d06ba58ddfc5b6fd74b1730a6cb Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 22 Aug 2019 18:04:34 +0200 Subject: [PATCH] Remove useless X in the download table --- www/common/sframe-common-file.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/www/common/sframe-common-file.js b/www/common/sframe-common-file.js index 3956c60a6..4958cce1f 100644 --- a/www/common/sframe-common-file.js +++ b/www/common/sframe-common-file.js @@ -533,8 +533,7 @@ define([ createUploader(config.dropArea, config.hoverArea, config.body); - // XXX an X is still displayed when downloading, even though we can't cancel (at the moment) - // XXX implement the abiality to cancel downloads :D + // TODO implement the ability to cancel downloads :D var updateProgressbar = function (file, data, downloadFunction, cb) { if (queue.inProgress) { return; } queue.inProgress = true; @@ -625,10 +624,10 @@ define([ }); */ -/* $row.find('.cp-fileupload-table-cancel') .html('') - .append($cancel); */ + .append(h('span.fa.fa-minus')); + //.append($cancel); }; File.downloadFile = function (fData, cb) {