Bugzilla – Attachment 47735 Details for
Bug 15734
Audio Alerts broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15734: Audio Alerts broken
Bug-15734-Audio-Alerts-broken.patch (text/plain), 1.40 KB, created by
Jonathan Druart
on 2016-02-08 11:16:31 UTC
(
hide
)
Description:
Bug 15734: Audio Alerts broken
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-02-08 11:16:31 UTC
Size:
1.40 KB
patch
obsolete
>From 952d0f33f9d51b6daf7a50ba4b6b157c03819563 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Wed, 3 Feb 2016 18:50:18 +0000 >Subject: [PATCH] Bug 15734: Audio Alerts broken > >In master there is a JSON error thrown when AudioAlerts are enabled. >This is caused by changes in master from bug 13618. > >Test Plan: >1) Enable audio alerts >2) Note audio alerts don't work >3) Apply this patch >4) Note audio alerts now work > >Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com> >Works as described > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc >index be5433a..4dbfc11 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc >@@ -69,7 +69,7 @@ > <script type="text/javascript"> > //<![CDATA[ > var AUDIO_ALERT_PATH = '[% interface %]/[% theme %]/sound/'; >- var AUDIO_ALERTS = JSON.parse( '[% AudioAlerts.AudioAlerts | replace( "'", "\\'" ) %]' ); >+ var AUDIO_ALERTS = JSON.parse( '[% AudioAlerts.AudioAlerts.raw | replace( "'", "\\'" ) %]' ); > //]]> > > $( document ).ready(function() { >-- >2.1.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 15734
:
47620
|
47621
|
47644
|
47735
|
79997
|
79998
|
80052
|
80053
|
80056
|
80057
|
80164
|
80165
|
80258
|
80259
|
80277