From 3c9ed309ba2e308800e9c596c3c28d4a911813d2 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 29 Feb 2016 13:39:16 -0500 Subject: [PATCH] Bug 15940 - Remove unused JavaScript from authorities MARC subfield structure MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The authorities MARC subfield structure template contains some unused JavaScript, "function displayMoreConstraint()" This patch removes it. To test, apply the patch and go to Administration -> Authority types -> MARC structure -> Subfields -> Edit subfields and confirm that there are no JavaScript errors and tab switching works correctly. A search of the source code should show no instances of "displayMoreConstraint." Signed-off-by: Frédéric Demians No regression, no JS warning. Signed-off-by: Jonathan Druart Signed-off-by: Brendan A Gallagher (cherry picked from commit 3f70b4660bf57e854e6ef13b04fb29de57c53bec) Signed-off-by: Julian Maurice --- .../en/modules/admin/auth_subfields_structure.tt | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt index e2cae0e64b..cd53fa29d4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt @@ -3,22 +3,9 @@ [% INCLUDE 'doc-head-close.inc' %] -- 2.39.5