From 18e38b5b3eeace3a21b6e382d596d93ffa5de58b Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 10 Jan 2022 10:35:40 +0100 Subject: [PATCH] Bug 29837: Remove JS error during installer Uncaught ReferenceError: _ is not defined the _() function is called from calendar.inc, but calendar.inc is included before the definition of this function in installer-intranet-bottom.inc Test plan: Confirm that the JS error is gone Signed-off-by: Owen Leonard Signed-off-by: Martin Renvoize Signed-off-by: Fridolin Somers --- .../prog/en/includes/installer-intranet-bottom.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/installer-intranet-bottom.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/installer-intranet-bottom.inc index 3f1ca56a38..99b8da94ba 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/installer-intranet-bottom.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/installer-intranet-bottom.inc @@ -5,7 +5,6 @@ [% Asset.js("lib/jquery/jquery-ui-1.11.4.min.js") | $raw %] [% Asset.js("lib/bootstrap/bootstrap.min.js") | $raw %] [% Asset.js("lib/jquery/plugins/jquery.validate.min.js") | $raw %] - [% INCLUDE 'calendar.inc' %] + [% INCLUDE 'calendar.inc' %] [% jsinclude | $raw # Parse the page template's JavaScript block if necessary %] -- 2.39.5