Bug 28315: Remove duplicate function definition
authorPhilip Orr <philip.orr@lmscloud.de>
Tue, 25 Apr 2023 10:34:09 +0000 (10:34 +0000)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Mon, 15 May 2023 10:09:34 +0000 (10:09 +0000)
commit4a9be2cbe3da28bb73b1268f27d6ea0c7710f3fe
treebd34eae58cf1636dcd55a004ddfac5b5cbb69bd6
parentbeaf8076cf3a801cd680f794fee65c9e58f950df
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>
(cherry picked from commit a2b880e57bb1ccd4b8270ec8bfdcdc86e18a2e48)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt