From: Jane Sandberg Date: Thu, 21 Mar 2019 16:11:51 +0000 (-0700) Subject: LP1821196: Remove arrow function from item status X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=0f950539f8479e4865bb1aa357da24330f0f4970;p=evergreen%2Fjoelewis.git LP1821196: Remove arrow function from item status Signed-off-by: Jane Sandberg Signed-off-by: Bill Erickson --- 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() {