[GIT] Evergreen ILS branch rel_3_14 updated. 1896e5cbe45a3da2f154e49ed4f06233a9e1977c

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, rel_3_14 has been updated via 1896e5cbe45a3da2f154e49ed4f06233a9e1977c (commit) from 0069ca2d6bd91a15ddf52ce6b4dd936e5d7d414b (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 1896e5cbe45a3da2f154e49ed4f06233a9e1977c 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 d6ebca0dbb..8234b2d279 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
participants (1)
-
Git User