From 18e81f2977c7df80188ca2f64231f1270363c9b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Fri, 8 Mar 2024 12:05:09 +0100 Subject: [PATCH] fix: Use init script to avoid timing issues during loading MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- lib/Listener/LoadAdditionalListener.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Listener/LoadAdditionalListener.php b/lib/Listener/LoadAdditionalListener.php index 6978f047b..3cb9b2cff 100644 --- a/lib/Listener/LoadAdditionalListener.php +++ b/lib/Listener/LoadAdditionalListener.php @@ -15,6 +15,6 @@ public function handle(Event $event): void { return; } - Util::addScript(Application::APP_ID, 'tables-files', 'files'); + Util::addInitScript(Application::APP_ID, 'tables-files'); } }