v1.0.26: ошибка загрузки — в колонке Статус

This commit is contained in:
2026-06-18 19:53:37 +04:00
parent bca1bba6d0
commit 3489058ec2
+4 -6
View File
@@ -64,7 +64,7 @@
<body>
<div class="topbar">
<img src="/nubes-logo.svg" alt="Nubes">
<span class="title">Сверка договоров <span style="font-weight:400;color:var(--muted);font-size:12px;">v1.0.25 — Lucee</span></span>
<span class="title">Сверка договоров <span style="font-weight:400;color:var(--muted);font-size:12px;">v1.0.26 — Lucee</span></span>
</div>
<div class="content">
@@ -265,21 +265,19 @@ uploadBtn.addEventListener('click', function() {
var elapsed = ((Date.now() - uploadStartTime) / 1000).toFixed(1);
log('✅ ' + f.name + ' (' + formatSize(f.size) + ') — ' + elapsed + 'с');
} else {
f.status = 'error';
f.status = 'error: ' + (r.ERROR || 'неизв.');
log('❌ ' + f.name + ': ' + (r.ERROR || ''));
}
renderTable();
uploadNext(i + 1);
}).catch(function(e) {
f.status = 'error';
log('❌ ' + f.name + ': ' + e.message);
f.status = 'error: ' + e.message;
renderTable();
uploadNext(i + 1);
});
};
reader.onerror = function() {
f.status = 'error';
log('❌ ' + f.name + ': ошибка чтения');
f.status = 'error: чтение';
renderTable();
uploadNext(i + 1);
};