From 1fb2209aa3eae26605b430fc9c2c4f5cb6ae0226 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Tue, 7 Aug 2018 17:41:23 -0400 Subject: [PATCH] LP#621459 Clear Z39 overlay target message after overlay Reset the "Record with TCN XXX marked for overlay." message to show "No record marked for overlay." once the overlay target is cleared after a Z39 overlay. Removed an errant '"' in the overlay message. Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander --- Open-ILS/src/templates/staff/cat/z3950/t_list.tt2 | 2 +- Open-ILS/web/js/ui/default/staff/cat/z3950/app.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/templates/staff/cat/z3950/t_list.tt2 b/Open-ILS/src/templates/staff/cat/z3950/t_list.tt2 index 68c2fbf3d9..9d7ef21718 100644 --- a/Open-ILS/src/templates/staff/cat/z3950/t_list.tt2 +++ b/Open-ILS/src/templates/staff/cat/z3950/t_list.tt2 @@ -73,7 +73,7 @@ [% l('Total hits: [_1]', '{{total_hits}}') %]
- [% l('Record with TCN [_1] marked for overlay.', '{{local_overlay_target}}') %]" + [% l('Record with TCN [_1] marked for overlay.', '{{local_overlay_target}}') %]
[% l('No record marked for overlay.') %] diff --git a/Open-ILS/web/js/ui/default/staff/cat/z3950/app.js b/Open-ILS/web/js/ui/default/staff/cat/z3950/app.js index 31ff1ce4c5..2e67eea345 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/z3950/app.js +++ b/Open-ILS/web/js/ui/default/staff/cat/z3950/app.js @@ -449,6 +449,7 @@ function($scope , $q , $location , $timeout , $window, egCore , egGridDataProvi $scope.selectFieldStripGroups() ).then( function(result) { + $scope.local_overlay_target = 0; egCore.hatch.removeLocalItem('eg.cat.marked_overlay_record'); console.debug('overlay complete, target removed'); } -- 2.43.2