From 0baf4a1a0f43ab3f9e448eefb4889df53bb8dabb 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=UTF-8 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. --- .../prog/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 4b7e873..0d5bff3 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.7.1