From: Jason Stephenson Date: Sat, 27 Oct 2018 14:59:38 +0000 (-0400) Subject: Still syntax error at line 721. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=247b4fb6b35e79d8e6118ada581061c1105ba5dd;p=working%2FEvergreen.git Still syntax error at line 721. --- 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);