Bug 28315: Remove duplicate function definition
authorPhilip Orr <philip.orr@lmscloud.de>
Tue, 25 Apr 2023 10:34:09 +0000 (10:34 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 9 May 2023 13:58:00 +0000 (10:58 -0300)
commita2b880e57bb1ccd4b8270ec8bfdcdc86e18a2e48
tree890f59238d20b6dfd0824693edf104a286fb7c37
parent5771e6f463c72e17d42478c9970df1c7fb2286f8
Bug 28315: Remove duplicate function definition

This patch removes the unnecessary second definition of the JS function PopupMARCFieldDoc from addbiblio.tt.
To test:
1. Apply the patch
2. Check that addbiblio.tt contains only one function definition for PopupMARCFieldDoc
3. Navigate to "Cataloging" -> "Add MARC record"
4. Check that after clicking on the question mark symbol next to any MARC field, the loc description of that MARC field is opened in a new tab

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt