From 3c210589f8e72bcd2241e348226e8d608061e1f3 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 12 Oct 2018 11:18:17 -0300 Subject: [PATCH] Bug 21553: Remove JS error on the Rota view JS error was: ReferenceError: _ is not defined The strings after staff-global.js (for the function _) Test plan: Turn on StockRotation system preference 1) Go to a staff detail page 2) Switch to rota page 3) Check web developer tools Signed-off-by: Owen Leonard Signed-off-by: Martin Renvoize Signed-off-by: Tomas Cohen Arazi --- .../intranet-tmpl/prog/en/modules/catalogue/stockrotation.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/stockrotation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/stockrotation.tt index 88c7ed2ef4..ca6e142714 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/stockrotation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/stockrotation.tt @@ -6,7 +6,6 @@ [% INCLUDE 'doc-head-open.inc' %] Koha › Catalog › Stock rotation details for [% biblio.title | html %] [% INCLUDE 'doc-head-close.inc' %] -[% INCLUDE 'browser-strings.inc' %] [% USE KohaDates %] @@ -166,6 +165,7 @@ [% MACRO jsinclude BLOCK %] + [% INCLUDE 'browser-strings.inc' %] [% Asset.js("js/browser.js") | $raw %]