From 1bbc0324c4d64b91dce2e226a10dd87e16bd7f2f Mon Sep 17 00:00:00 2001 From: Nahuel ANGELINETTI Date: Wed, 26 Aug 2009 01:44:28 +0200 Subject: [PATCH] (bug #3411) escape authorities values The values are not escaped in javascript, so if there is double quotes, the authority cannot be imported because of javascript error. This patch fix this. Signed-off-by: Galen Charlton --- .../en/modules/authorities/blinddetail-biblio-search.tmpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tmpl index 2fc9524437..931aaa50f3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tmpl @@ -24,12 +24,12 @@ if (subfield){subfield.value="" ;} if(code.value=='9'){ - subfield.value = ""; + subfield.value = ""; } - if (code.value == ""){ - subfield.value = ""; + if (code.value == ""){ + subfield.value = ""; }