From e635b63e94c0dd09f20c936039d518c3e494252c Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 9 Oct 2018 10:47:11 -0300 Subject: [PATCH] Bug 15734: Use To.json to filter audio alerts Test Plan: 1) Enable audio alerts 2) Note audio alerts don't work 3) Apply this patch 4) Note audio alerts now work Use complex selectors to test: #circ_returns p.problem:contains('Not checked out.') #doc3 > #bd Signed-off-by: Josef Moravec Signed-off-by: Tomas Cohen Arazi Signed-off-by: Nick Clemens (cherry picked from commit 58314233f70fd9fd2f2830250ff0362e369b6ff1) Signed-off-by: Martin Renvoize --- koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc index de81f3f146..81918e9ed1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc @@ -1,5 +1,6 @@ [% USE Asset %] [% USE AudioAlerts %] +[% USE To %] [%# Prevent XFS attacks -%] [% UNLESS popup %]