]> git.evergreen-ils.org Git - Evergreen.git/commit
LP1888723 Volcopy strings should be global
authorBill Erickson <berickxx@gmail.com>
Wed, 6 Jan 2021 18:10:58 +0000 (13:10 -0500)
committerGalen Charlton <gmc@equinoxOLI.org>
Sun, 15 Aug 2021 23:56:06 +0000 (19:56 -0400)
commitdfdd1ba542c30ee146735d3adae5e552cf7c3786
tree433caf7753b6e5800effc556fc0872496fa381de
parent608ac0080838f9782e03ad3ce13c7a600f4f0498
LP1888723 Volcopy strings should be global

Moving the <eg-string /> entries to the root of the tepmlate ensures all
references to those strings are defined / non-null.  Otherwise, if the
user opts to hide a field which contained its own strings (e.g. loan
duration), the code would fail on null references, e.g.:

ERROR TypeError: Cannot read property 'text' of undefined

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/eg2/src/app/staff/cat/volcopy/copy-attrs.component.html