diff --git a/myproject/customers/templates/customers/customer_import.html b/myproject/customers/templates/customers/customer_import.html index 203aaee..ec6813e 100644 --- a/myproject/customers/templates/customers/customer_import.html +++ b/myproject/customers/templates/customers/customer_import.html @@ -326,8 +326,11 @@ document.addEventListener('DOMContentLoaded', function() { return false; } - // Показываем прогресс-бар и блокируем повторную отправку - showProgressBar(); + // НЕ блокируем отправку формы, но показываем прогресс-бар сразу после клика + // Используем setTimeout чтобы форма успела начать отправку + setTimeout(() => { + showProgressBar(); + }, 10); }); // Показать прогресс-бар и защиту от закрытия