From 722112a063b4d9d8a2d8e5ce4692a25006f3c4c6 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 --- koha-tmpl/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 88c7ed2..ca6e142 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 %]