From 9fea49e82fde01239e6c2d2efaf86ed0fd76de69 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 19 Dec 2023 11:45:59 +0100 Subject: [PATCH] Bug 35600: Prevent checkouts table to flicker The checkouts table is displayed in the DOM then hidden in JS, then we show it if the cookie is set. This patch makes the table hidden by default, and show it if/when needed Test plan: Check an item out, see the checkouts list view Play with "Always show checkouts automatically", refresh the page => UI should behave better than before this patch --- koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table.inc | 4 ++-- koha-tmpl/intranet-tmpl/prog/js/checkouts.js | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table.inc index 8d51af2e257..9efd8065d91 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table.inc @@ -16,7 +16,7 @@

- +
@@ -49,7 +49,7 @@ -
+