From f709f27419471078ddf7f17fd4c136f64a5c8707 Mon Sep 17 00:00:00 2001 From: Jason Boyer Date: Fri, 26 Oct 2018 09:16:14 -0400 Subject: [PATCH] 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 --- Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.43.2