From: Jason Stephenson Date: Mon, 5 Nov 2018 21:38:48 +0000 (-0500) Subject: LP 1779467: Fix SyntaxError: missing ) after argument list X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=4e73375035d9d64b94e806b86d4ae590f5235890;p=evergreen%2Fpines.git LP 1779467: Fix SyntaxError: missing ) after argument list Missing parenthesis in Open-ILS/web/js/ui/default/staff/cat/catalog/app.js caused the titular error when searching the catalog. Signed-off-by: Jason Stephenson --- diff --git a/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js b/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js index 3246f2554d..26e64031c5 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js +++ b/Open-ILS/web/js/ui/default/staff/cat/catalog/app.js @@ -1669,22 +1669,22 @@ function($scope , $routeParams , $location , $window , $q , egCore , egHolds , e var copy_list = gatherSelectedRawCopies(); if (copy_list.length == 0) return; egCirc.mark_discard(copy_list.map(function(cp) { - return {id: cp.id(), barcode: cp.barcode()};}).then(function() { - holdinsSvcInst.fetchAgain().then(function() { - $scop.holdingsGridDataProvider.refresh(); + return {id: cp.id(), barcode: cp.barcode()};})).then(function() { + holdingsSvcInst.fetchAgain().then(function() { + $scope.holdingsGridDataProvider.refresh(); + }); }); - }); } $scope.selectedHoldingsMissing = function () { var copy_list = gatherSelectedRawCopies(); if (copy_list.length == 0) return; egCirc.mark_missing(copy_list.map(function(cp) { - return {id: cp.id(), barcode: cp.barcode()};}).then(function() { - holdingsSvcInst.fetchAgain().then(function() { - $scope.holdingsGridDataProvider.refresh(); + return {id: cp.id(), barcode: cp.barcode()};})).then(function() { + holdingsSvcInst.fetchAgain().then(function() { + $scope.holdingsGridDataProvider.refresh(); + }); }); - }); } $scope.selectedHoldingsCopyAlertsAdd = function() {