From: Galen Charlton Date: Tue, 11 Jun 2019 23:07:37 +0000 (-0400) Subject: LP#1832897: improvements to eg-fm-record-editor X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=d8986fc8ea35f349a1c15aee25cb748159ef09d5;p=working%2FEvergreen.git LP#1832897: improvements to eg-fm-record-editor * Add a new optional attribute, preSave, for passing a callback to modify modify records (e.g., to provide default values) before they are saved. * Ensure that the components current copy of a record is discarded when the user closes or dismisses the modal This addresses an issue where editing multiple instances of records on an admin page could display (and/or flash) stale data, particularly for the new multi-select widget. Signed-off-by: Galen Charlton Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/eg2/src/app/share/fm-editor/fm-editor.component.html b/Open-ILS/src/eg2/src/app/share/fm-editor/fm-editor.component.html index 476c261c34..85c0c65619 100644 --- a/Open-ILS/src/eg2/src/app/share/fm-editor/fm-editor.component.html +++ b/Open-ILS/src/eg2/src/app/share/fm-editor/fm-editor.component.html @@ -9,7 +9,7 @@ @@ -162,7 +162,7 @@