Signed-off-by: Jason Etheridge <jason@esilibrary.com>
$scope.record_id = match[1];
egCore.hatch.setLocalItem("eg.cat.last_record_retrieved", $scope.record_id);
$scope.holdings_record_id_changed($scope.record_id);
+ // FIXME -- we could add a permission check here
+ if ($scope.record_id == egCore.hatch.getLocalItem('eg.cat.marked_overlay_record')) {
+ $scope.disable_mark_for_overlay = true;
+ } else {
+ $scope.disable_mark_for_overlay = false;
+ }
init_parts_url();
} else {
delete $scope.record_id;