Bugzilla – Attachment 82003 Details for
Bug 21766
Default sounds broken in 18.05 - wrong filter/link
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21766: Correct filtering on AUDIO_ALERT_PATH js
Bug-21766-Correct-filtering-on-AUDIOALERTPATH-js.patch (text/plain), 1.35 KB, created by
Jonathan Druart
on 2018-11-06 18:22:27 UTC
(
hide
)
Description:
Bug 21766: Correct filtering on AUDIO_ALERT_PATH js
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-11-06 18:22:27 UTC
Size:
1.35 KB
patch
obsolete
>From b97ec89acbf081d668c1cb64cb5146a5f70db357 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Mon, 5 Nov 2018 16:34:00 +0000 >Subject: [PATCH] Bug 21766: Correct filtering on AUDIO_ALERT_PATH js > >I managed to introduce a bad filter whilst backporting bug 15734 to the >18.05.x series. This patch attempts to correct that. > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >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 81918e9ed1..177d085364 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc >@@ -69,7 +69,7 @@ > [% IF Koha.Preference('AudioAlerts') || AudioAlertsPage %] > <script type="text/javascript"> > //<![CDATA[ >- var AUDIO_ALERT_PATH = '[% interface | uri %]/[% theme | uri %]/sound/'; >+ var AUDIO_ALERT_PATH = '[% interface | url %]/[% theme | uri %]/sound/'; > var AUDIO_ALERTS = JSON.parse( '[% To.json(AudioAlerts.AudioAlerts) %]' ); > //]]> > >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 21766
:
81972
|
81973
|
81995
| 82003