From: Bill Erickson Date: Tue, 7 Aug 2018 21:41:23 +0000 (-0400) Subject: LP#621459 Clear Z39 overlay target message after overlay X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=1fb2209aa3eae26605b430fc9c2c4f5cb6ae0226;p=evergreen%2Fjoelewis.git 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 --- 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'); }