This commit is contained in:
Rick Falkvinge
2018-12-16 16:30:10 +01:00
parent 7f9c0f1cc4
commit 6b34d239c4
+10
View File
@@ -199,9 +199,13 @@
activeUpload = triggeredUpload;
triggeredUpload = null;
// switch action icon upload to status icon waiting
var itemId = $(activeUpload).attr('data-item');
$('img.action-icon[data-item="' + itemId + '"]').hide();
$('img.status-icon-pleasewait[data-item="' + itemId + '"]').show();
// If there's a skip option, disable it at this time
$('span.action-list-item[data-item="' + itemId + '"] span.action-skip').addClass('action-skip-disabled');
}
function clientFailedUpload() {
@@ -226,6 +230,8 @@
return;
}
// TODO: AJAX CALL TO STORE UPLOAD
activeUpload = null;
}
@@ -284,6 +290,10 @@
transition: all 0.50s;*/
}
.action-skip .action-skip-disabled {
display: none !important;
}
.action-list-item-disabled .action-skip, .action-list-item-completed .action-skip {
-webkit-transition: all 0.50s;
transition: all 0.50s;