From dfdd1ba542c30ee146735d3adae5e552cf7c3786 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Wed, 6 Jan 2021 13:10:58 -0500 Subject: [PATCH] LP1888723 Volcopy strings should be global Moving the 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 Signed-off-by: Ruth Frasur Signed-off-by: Galen Charlton --- .../cat/volcopy/copy-attrs.component.html | 23 +++++++++---------- 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/staff/cat/volcopy/copy-attrs.component.html b/Open-ILS/src/eg2/src/app/staff/cat/volcopy/copy-attrs.component.html index e7e4bd79d7..632640a52b 100644 --- a/Open-ILS/src/eg2/src/app/staff/cat/volcopy/copy-attrs.component.html +++ b/Open-ILS/src/eg2/src/app/staff/cat/volcopy/copy-attrs.component.html @@ -1,4 +1,15 @@ + + + + + + + + + + + @@ -163,7 +174,6 @@
-
- - - - @@ -404,9 +406,6 @@
- - -