LP1821196: Remove arrow function from item status
authorJane Sandberg <sandbej@linnbenton.edu>
Thu, 21 Mar 2019 16:11:51 +0000 (09:11 -0700)
committerBill Erickson <berickxx@gmail.com>
Thu, 11 Apr 2019 21:32:58 +0000 (17:32 -0400)
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Bill Erickson <berickxx@gmail.com>

Open-ILS/web/js/ui/default/staff/cat/item/app.js

index 1ff71f3..fc3e823 100644 (file)
@@ -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() {