
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 a5df968f42b35778c20d2c09296144f3fb81d8e8 (commit) from bd3ea719ce11cfb2cdf48df080ae662bb26648d6 (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 a5df968f42b35778c20d2c09296144f3fb81d8e8 Author: Stephanie Leary <stephanie.leary@equinoxoli.org> Date: Tue Mar 11 22:27:21 2025 +0000 LP2095532 Ctrl+arrow creates only one new MARC row In the MARC rich editor, call preventDefault() and stopPropagation() on keydown handlers when pressing Control + the up or down arrow to avoid creating duplicate copies of the current row (due to similar handlers in both the editable content and rich editor components). See also bug 2084199 for related keyboard operation errors prior to 3.13.6 and 3.14.1. Release-note: Prevents duplicate new MARC rows using Control + Arrow key Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org> Signed-off-by: Carol Witt <wittc@cwmars.org> Signed-off-by: Terran McCanna <tmccanna@georgialibraries.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 1e04fba77a..1f47d958af 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 @@ -564,6 +564,8 @@ implements OnInit, AfterViewInit, OnDestroy { if (evt.ctrlKey && !evt.shiftKey && !(this.fieldType === 'ldr' || this.fieldType === 'ffld')) { // ctrl+down == copy current field down one + evt.preventDefault(); + evt.stopPropagation(); this.context.insertField( this.field, this.record.cloneField(this.field)); } @@ -587,6 +589,8 @@ implements OnInit, AfterViewInit, OnDestroy { if (evt.ctrlKey && !evt.shiftKey && !(this.fieldType === 'ldr' || this.fieldType === 'ffld')) { // ctrl+up == copy current field up one + evt.preventDefault(); + evt.stopPropagation(); this.context.insertField( this.field, this.record.cloneField(this.field), true); } ----------------------------------------------------------------------- Summary of changes: .../eg2/src/app/staff/share/marc-edit/editable-content.component.ts | 4 ++++ 1 file changed, 4 insertions(+) hooks/post-receive -- Evergreen ILS