]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1716479: (follow-up) fix handling of onSave callbacks for AngularJS MARC edit
authorGalen Charlton <gmc@equinoxOLI.org>
Tue, 4 Apr 2023 15:10:21 +0000 (11:10 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Tue, 4 Apr 2023 15:10:21 +0000 (11:10 -0400)
commite7290cfaa27678f96a9f5d184e62a52d55e1774b
treef4f31a9a8172d7b30dfa34cabc08f23e4cba4970
parent687f0edec1c6605e0e7840a0a39b5bee4b4a8d5f
LP#1716479: (follow-up) fix handling of onSave callbacks for AngularJS MARC edit

This patch fixes an issue that has been present for a while but
clarified by Beth Wills in the course of testing the base patch
for this bug.

Specifically, the routine to process onSave callbacks was
not bound to the scope properly, meaning that the wrong onSave
callbacks could be run when dealing with mutiple active
egMarcEditRecords.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js