diff --git a/index.cfm b/index.cfm
index 99e017b..a381ad9 100644
--- a/index.cfm
+++ b/index.cfm
@@ -64,7 +64,7 @@

-
Сверка договоров v1.0.22 — Lucee
+
Сверка договоров v1.0.23 — Lucee
@@ -232,6 +232,10 @@ uploadBtn.addEventListener('click', function() {
if (i >= fileQueue.length) {
uploadTimer.style.display = 'none';
uploadBtn.disabled = false;
+ if (contractId) {
+ document.getElementById('actionsCard').style.display = 'block';
+ document.getElementById('chatCard').style.display = 'block';
+ }
return;
}
var f = fileQueue[i];
@@ -273,13 +277,15 @@ uploadBtn.addEventListener('click', function() {
};
xhr.onerror = function() {
f.status = 'error';
- log('❌ ' + f.name + ': сеть');
+ var detail = 'сеть (status=' + xhr.status + ')';
+ if (xhr.responseText) detail += ' resp=' + xhr.responseText.substring(0,200);
+ log('❌ ' + f.name + ': ' + detail);
renderTable();
uploadNext(i + 1);
};
xhr.ontimeout = function() {
f.status = 'error';
- log('❌ ' + f.name + ': таймаут');
+ log('❌ ' + f.name + ': таймаут 120с');
renderTable();
uploadNext(i + 1);
};