LP#621459: Discard overlay target after merge in Z39.50 interface
authorMike Rylander <mrylander@gmail.com>
Fri, 3 Aug 2018 15:00:25 +0000 (11:00 -0400)
committerMike Rylander <mrylander@gmail.com>
Wed, 8 Aug 2018 21:30:28 +0000 (17:30 -0400)
Cataloger concensus is that we should discard the overlay target after a merge
is completed in order to help avoid accidental re-overlay.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/web/js/ui/default/staff/cat/z3950/app.js

index b48c4df..31ff1ce 100644 (file)
@@ -449,7 +449,8 @@ function($scope , $q , $location , $timeout , $window,  egCore , egGridDataProvi
                 $scope.selectFieldStripGroups()
             ).then(
                 function(result) {
-                    console.debug('overlay complete');
+                    egCore.hatch.removeLocalItem('eg.cat.marked_overlay_record');
+                    console.debug('overlay complete, target removed');
                 }
             );            
         });