From: Jason Boyer Date: Fri, 26 Oct 2018 13:16:14 +0000 (-0400) Subject: LP1796988: Fix Saving Last Copy Template X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=26fd5b966bb9f215d5e3911f308682aec045ce4d;p=working%2FEvergreen.git LP1796988: Fix Saving Last Copy Template A line that belongs within a forEach loop escaped its bounds and caused a reference error that prevented the applyTemplate function from saving the last used template. This branch ushers this line back to its pen where it can trouble us no more. Signed-off-by: Jason Boyer Signed-off-by: Janet Schrader Signed-off-by: Jason Stephenson --- diff --git a/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js b/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js index 90f9dcf260..0928b7cadb 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js +++ b/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js @@ -1327,8 +1327,8 @@ function($scope , $q , $window , $routeParams , $location , $timeout , egCore , } }); } + delete $scope.working.MultiMap[k]; }); - delete $scope.working.MultiMap[k]; egCore.hatch.setItem('cat.copy.last_template', n); }