From 16307c40343cdb0ed4ff69c9c001fc4d9e1a459f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20V=C3=A9ron?= Date: Sun, 4 Jun 2017 22:09:14 +0200 Subject: [PATCH] Bug 13747: Fix problems with frequency descriptions containing quotes If a serial frequency description contains quotes or is surrounded by quotes, the description is empty ("TEST" > empty) or shown without the quotes part (TEST "sth" > TEST) on editing the frequency. To verify: - Create a new frequency with description: "Test" - Modify frequency - Verify the description field is empty To test: - Apply patch - Try to recreate, verify that the description field is correctly filled when editing - Test also with a name like: 'A "souble quoted" name' Signed-off-by: Jonathan Druart --- .../intranet-tmpl/prog/en/modules/serials/subscription-frequencies.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-frequencies.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-frequencies.tt index e277210deb..62696fb111 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-frequencies.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-frequencies.tt @@ -113,7 +113,7 @@ $(document).ready(function() {
  1. - Required + Required
  2. -- 2.11.0