Fixed indentation of commit 2760e119bbfc3e2d436c404de194dbeea738a735

Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
This commit is contained in:
Shai Ben-Naphtali
2009-07-12 01:41:24 +08:00
committed by Tim Almdal
parent b0aab73364
commit 1d7ed9e76b

View File

@@ -183,8 +183,8 @@
$("#gUploadCancel").show();
var stats = this.getStats();
$("#gUploadQueueInfo").text("(<?= t("completed") ?> " + stats.successful_uploads +
" <?= t("of") ?> " + (stats.files_queued + stats.successful_uploads +
stats.upload_errors + stats.upload_cancelled + stats.queue_errors) + ")");
" <?= t("of") ?> " + (stats.files_queued + stats.successful_uploads +
stats.upload_errors + stats.upload_cancelled + stats.queue_errors) + ")");
}
// Auto start the upload
@@ -256,8 +256,8 @@
function upload_complete(file) {
var stats = this.getStats();
$("#gUploadQueueInfo").text("(<?= t("completed") ?> " + stats.successful_uploads +
" <?= t("of") ?> " + (stats.files_queued + stats.successful_uploads +
stats.upload_errors + stats.upload_cancelled + stats.queue_errors) + ")");
" <?= t("of") ?> " + (stats.files_queued + stats.successful_uploads +
stats.upload_errors + stats.upload_cancelled + stats.queue_errors) + ")");
if (stats.files_queued === 0) {
$("#gUploadCancel").hide();
}