From: Jason Etheridge Date: Thu, 3 Sep 2015 05:49:19 +0000 (-0400) Subject: add Mark as Overlay Target to MARC editor X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=d5b07f1fcf5e32de4467224c7c07bd2d31bb8ee1;p=working%2FEvergreen.git add Mark as Overlay Target to MARC editor no bells and whistles though :) Signed-off-by: Jason Etheridge --- 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) {