[GIT] Evergreen ILS branch main updated. 19f506ea9e336a787cb4957dd5153c6e2970d2cf

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 19f506ea9e336a787cb4957dd5153c6e2970d2cf (commit) from 2fffeee8067fc3e2652defb0365a87a386f671a6 (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 19f506ea9e336a787cb4957dd5153c6e2970d2cf Author: Jane Sandberg <sandbergja@gmail.com> Date: Fri Jul 11 15:18:26 2025 -0700 LP2111948: follow-up: ng lint fixes Signed-off-by: Jane Sandberg <sandbergja@gmail.com> diff --git a/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editor-context.ts b/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editor-context.ts index 4d58bc0f66..a3f577e91f 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editor-context.ts +++ b/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editor-context.ts @@ -440,7 +440,7 @@ export class MarcEditContext { } // Focus the requested subfield by its position. - focusSubfield(field: MarcField, position: number, target?: MARC_EDITABLE_FIELD_TYPE | "group" | "move") { + focusSubfield(field: MarcField, position: number, target?: MARC_EDITABLE_FIELD_TYPE | 'group' | 'move') { // console.debug("focusSubfield()", field, position, group); const focus: FieldFocusRequest = {fieldId: field.fieldId, target: 'sfv'}; diff --git a/Open-ILS/src/eg2/src/app/staff/share/marc-edit/rich-editor.component.ts b/Open-ILS/src/eg2/src/app/staff/share/marc-edit/rich-editor.component.ts index 94b12eeb91..3e2dd46440 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/marc-edit/rich-editor.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/share/marc-edit/rich-editor.component.ts @@ -214,9 +214,9 @@ export class MarcRichEditorComponent implements OnInit { onKeyDown(evt: KeyboardEvent, field: MarcField, subfield?: MarcSubfield) { switch (evt.key) { case 'ArrowLeft': - case 'ArrowRight': + case 'ArrowRight': { // console.debug("ArrowRight: ", evt, field, subfield); - // eslint-disable-next-line no-case-declarations + const el = evt.target as HTMLElement; // do nothing if we are in a text input if (el.nodeName && (el.nodeName.toLowerCase() === 'input' || el.nodeName.toLowerCase() === 'textarea')) { @@ -225,10 +225,10 @@ export class MarcRichEditorComponent implements OnInit { // otherwise, move focus from the group to the subfield code if it's empty, or the value if not evt.preventDefault(); evt.stopPropagation(); - const target = subfield[0] == ' ' ? 'sfc' : 'sfv'; + const target = subfield[0] === ' ' ? 'sfc' : 'sfv'; this.context.focusSubfield(field, subfield[2], target); break; - + } // all remaining shortcuts duplicated from editable-content.component.ts // minus combobox shortcuts case 'y': ----------------------------------------------------------------------- Summary of changes: Open-ILS/src/eg2/src/app/staff/share/marc-edit/editor-context.ts | 2 +- .../eg2/src/app/staff/share/marc-edit/rich-editor.component.ts | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) hooks/post-receive -- Evergreen ILS
participants (1)
-
Git User