From b2de21e54ed6067f31196008dca803ee86652cfc Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Thu, 17 Oct 2019 17:57:10 -0400 Subject: [PATCH] LP1830923 Marc edit in-place additions Improve Angular MARC editor for in-place editing. * Make inPlaceMode a proper @Input. * Allow the caller to pass in the bib source * The recordSaved event now reports both the MARC XML and the currently selected bib source. Signed-off-by: Bill Erickson Signed-off-by: Remington Steed Signed-off-by: Galen Charlton --- .../share/marc-edit/editor.component.html | 4 +- .../staff/share/marc-edit/editor.component.ts | 41 ++++++++++++++----- 2 files changed, 32 insertions(+), 13 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editor.component.html b/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editor.component.html index f8eef36976..0489ddd38d 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editor.component.html +++ b/Open-ILS/src/eg2/src/app/staff/share/marc-edit/editor.component.html @@ -29,9 +29,9 @@ + [disabled]="inPlaceMode" (click)="deleteRecord()" i18n>Delete Record + [disabled]="inPlaceMode" (click)="undeleteRecord()" i18n>Undelete Record