From 40f47cc1e09f6aa6486b9c3be0fe3314aa59b521 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Wed, 3 Feb 2016 19:05:19 +0000 Subject: [PATCH] Bug 15735 - Audio Alerts editor broken by use of of single quotes in editor Single quotes audio selector break ability to edit an alert Test Plan: 1) Enable audio alerts 2) Add new a alert with a select containing single quotes such as: input[name*='test'] 3) Note you cannot edit the alert 4) Apply this patch 5) Reload the page 6) You should now be able to edit the alert --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/audio_alerts.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/audio_alerts.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/audio_alerts.tt index 489c542..24f68c9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/audio_alerts.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/audio_alerts.tt @@ -157,7 +157,7 @@ function EditAlert( elt, id, precedence, selector, sound ) { [% a.selector %] [% a.sound %] - Edit + Edit [% END %] -- 2.1.4