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)
committerFrédéric Demians <f.demians@tamil.fr>
Tue, 15 Mar 2016 08:48:51 +0000 (09:48 +0100)
commit69f9570ecd0d6f03957588c4749f3b0c14cd2efd
tree0f2d0e9bce63499b4f99a8fb1158aadf084119b3
parentf23d74c2be65deb3762f5cf51d2a29b8f732d1b2
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>
(cherry picked from commit 3c9ed309ba2e308800e9c596c3c28d4a911813d2)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt