Bugzilla – Attachment 47636 Details for
Bug 15733
Audio Alerts issues in master
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15733: Fix audio alerts
Bug-15733-Fix-audio-alerts.patch (text/plain), 1.21 KB, created by
Jonathan Druart
on 2016-02-04 08:26:25 UTC
(
hide
)
Description:
Bug 15733: Fix audio alerts
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-02-04 08:26:25 UTC
Size:
1.21 KB
patch
obsolete
>From 3526a6c7a6223117f0366ae17513f1a269ae167f Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 4 Feb 2016 08:23:43 +0000 >Subject: [PATCH] Bug 15733: Fix audio alerts > >Bug 13618 has broken the audio alerts. > >Test plan: >Enable the AudioAlerts pref >Check an item in >Without this patch, there is a js error >With this patch applied, the error is gone >--- > 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 15733
: 47636