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:16:05 +0000 (11:16 -0400)
commit2583de0b4dc779cfe2cb81f93fe2f0699fb319de
tree70ad811908f871f08214d80ed13fd37f0176db12
parent47dfce041a915bd273a57384f0132ee7dd6eebfb
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