|
|
@ -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) {
|
|
|
|