From 247b4fb6b35e79d8e6118ada581061c1105ba5dd Mon Sep 17 00:00:00 2001 From: Jason Stephenson Date: Sat, 27 Oct 2018 10:59:38 -0400 Subject: [PATCH] Still syntax error at line 721. --- Open-ILS/web/js/ui/default/staff/circ/services/holds.js | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/Open-ILS/web/js/ui/default/staff/circ/services/holds.js b/Open-ILS/web/js/ui/default/staff/circ/services/holds.js index 44094ab46b..c8670c251e 100644 --- a/Open-ILS/web/js/ui/default/staff/circ/services/holds.js +++ b/Open-ILS/web/js/ui/default/staff/circ/services/holds.js @@ -715,11 +715,7 @@ function($window , $location , $timeout , egCore , egHolds , egCirc) { var copies = items .filter(function(item) { return Boolean(item.copy) }) .map(function(item) { - return - { - id: item.copy.id(), - barcode: item.copy.barcode() - }; + return {id: item.copy.id(), barcode: item.copy.barcode()} }); if (copies.length) egCirc.mark_discard(copies).then(service.refresh); @@ -729,11 +725,7 @@ function($window , $location , $timeout , egCore , egHolds , egCirc) { var copies = items .filter(function(item) { return Boolean(item.copy) }) .map(function(item) { - return - { - id: item.copy.id(), - barcode: item.copy.barcode() - }; + return {id: item.copy.id(), barcode: item.copy.barcode()} }); if (copies.length) egCirc.mark_missing(copies).then(service.refresh); -- 2.11.0