]> git.evergreen-ils.org Git - 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:15:55 +0000 (11:15 -0400)
commit1d3541d7a1c6e34fb32f868f10b0e157f77f423a
tree593aad2516efb21f944f5a5e07b51f96759f5b03
parent248b4865963ad7dedc4a61a1ad102ff96a614e57
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