From 0f950539f8479e4865bb1aa357da24330f0f4970 Mon Sep 17 00:00:00 2001 From: Jane Sandberg Date: Thu, 21 Mar 2019 09:11:51 -0700 Subject: [PATCH] LP1821196: Remove arrow function from item status Signed-off-by: Jane Sandberg Signed-off-by: Bill Erickson --- Open-ILS/web/js/ui/default/staff/cat/item/app.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Open-ILS/web/js/ui/default/staff/cat/item/app.js b/Open-ILS/web/js/ui/default/staff/cat/item/app.js index 1ff71f3bc4..fc3e823dfa 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/item/app.js +++ b/Open-ILS/web/js/ui/default/staff/cat/item/app.js @@ -427,7 +427,9 @@ function($scope , $q , $window , $location , $timeout , egCore , egNet , egGridD $scope.refreshGridData = function() { var chain = $q.when(); - var all_items = itemSvc.copies.map((item) => {return item.id}); + var all_items = itemSvc.copies.map(function(item) { + return item.id; + }); angular.forEach(all_items.reverse(), function(i) { itemSvc.copies.shift(); chain = chain.then(function() { -- 2.43.2