From: Jason Etheridge Date: Thu, 3 Sep 2015 05:49:19 +0000 (-0400) Subject: webstaff: add Mark as Overlay Target to MARC editor X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ddc995c9d848c17932b5b32ff976362d634c5476;p=evergreen%2Fpines.git webstaff: add Mark as Overlay Target to MARC editor no bells and whistles though :) Signed-off-by: Jason Etheridge Signed-off-by: Galen Charlton Signed-off-by: Jason Stephenson --- diff --git a/Open-ILS/src/templates/staff/cat/share/t_marcedit.tt2 b/Open-ILS/src/templates/staff/cat/share/t_marcedit.tt2 index eba2c17997..9dea0d4072 100644 --- a/Open-ILS/src/templates/staff/cat/share/t_marcedit.tt2 +++ b/Open-ILS/src/templates/staff/cat/share/t_marcedit.tt2 @@ -44,6 +44,9 @@ +
+ +
diff --git a/Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js b/Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js index 056c34e5c4..a8df2aa8fe 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js +++ b/Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js @@ -1110,6 +1110,10 @@ angular.module('egMarcMod', ['egCoreMod', 'ui.bootstrap']) alert($scope.record.toBreaker()); }; + $scope.markOverlay = function () { + egCore.hatch.setLocalItem('eg.cat.marked_overlay_record',$scope.recordId); + }; + $scope.$watch('recordId', function(newVal, oldVal) { if (newVal && newVal !== oldVal) {