From b3edd03b3efb174c65efd4ef17cbcc677661e069 Mon Sep 17 00:00:00 2001 From: Mikhail Chusavitin Date: Wed, 21 Jan 2026 18:00:47 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B1=D0=BE=D0=BB=D1=8C=D1=88=D0=B5=20=D0=BB?= =?UTF-8?q?=D0=BE=D0=B3=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D1=8F!?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/app.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/public/app.js b/public/app.js index 94abff2..a875fdb 100644 --- a/public/app.js +++ b/public/app.js @@ -5,6 +5,17 @@ let table = null; let enterHandler = null; let selectedRowsDataGlobal = new Map(); // Только для "Выделить все" кросс-страничного +// ✅ Тестовое логирование +console.log('🚀 app.js загружен'); + +// Перехватываем все ошибки +window.addEventListener('error', function(e) { + console.error('❌ ГЛОБАЛЬНАЯ ОШИБКА:', e.message, e.filename, e.lineno); +}); + +// Тест консоли +console.log('✅ Консоль работает!'); + async function api(url, method = 'GET', body) { const opts = { method, headers: { 'Content-Type': 'application/json' } }; if (body) opts.body = JSON.stringify(body);