Bug 15940 - Remove unused JavaScript from authorities MARC subfield structure
authorOwen Leonard <oleonard@myacpl.org>
Mon, 29 Feb 2016 18:39:16 +0000 (13:39 -0500)
committerJulian Maurice <julian.maurice@biblibre.com>
Mon, 7 Mar 2016 13:15:49 +0000 (14:15 +0100)
commit3c9ed309ba2e308800e9c596c3c28d4a911813d2
treefba686d18540997c14515228db8e0e35b2288d43
parent4847de47e40916d148025fd899e3fcf73bdbf13d
Bug 15940 - Remove unused JavaScript from authorities MARC subfield structure

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 <f.demians@tamil.fr>
  No regression, no JS warning.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
(cherry picked from commit 3f70b4660bf57e854e6ef13b04fb29de57c53bec)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt