
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Evergreen ILS". The branch, main has been updated via e8489059c76aab4b2de8880fb5a9736aed090af8 (commit) from c1d85e778bcec8a99dd085ab8f7946ff5faae747 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit e8489059c76aab4b2de8880fb5a9736aed090af8 Author: Stephanie Leary <stephanie.leary@equinoxoli.org> Date: Mon Mar 17 20:16:16 2025 +0000 LP2084929 Follow-up: silence additional blur error Fixes an additional console error in the inputBlurred() function that occurred when setting this.field.hasFocus on a fixed field, where this.field is not defined. Release-note: Fixes inputBlurred() console error for MARC fixed fields Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org> diff --git a/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editable-content.component.ts b/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editable-content.component.ts index c27363d790..d6ebca0dbb 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editable-content.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editable-content.component.ts @@ -468,7 +468,9 @@ implements OnInit, AfterViewInit, OnDestroy { // track the new value as the value the next session of // text edits should return to upon undo. this.undoBackToText = this.getContent(); - this.field.hasFocus = false; + if (this.field && typeof this.field === 'object') { + this.field.hasFocus = false; + } } // Propagate textarea content into our record ----------------------------------------------------------------------- Summary of changes: .../eg2/src/app/staff/share/marc-edit/editable-content.component.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) hooks/post-receive -- Evergreen ILS