From: Bill Erickson Date: Mon, 4 Nov 2013 18:49:49 +0000 (-0500) Subject: ff web / cleanup X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=175d32ed8c4251cb11078c52db2ff6d27a3e199f;p=evergreen%2Fequinox.git ff web / cleanup Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/web/js/ui/default/staff/fulfillment/app.js b/Open-ILS/web/js/ui/default/staff/fulfillment/app.js index d0f1041e81..db860deb0e 100644 --- a/Open-ILS/web/js/ui/default/staff/fulfillment/app.js +++ b/Open-ILS/web/js/ui/default/staff/fulfillment/app.js @@ -783,36 +783,6 @@ function ($scope, $q, $route, egNet, egAuth, egPCRUD, egOrg, orgSelector) display.next_action = 'ill-home-capture'; }; - // call the parent scope's action handler for each selected item. - // when all are done, reload the route (when not printing). - /* - angular.forEach(['checkin', 'cancel', 'retarget', 'print'], - function(action) { - $scope[action] = function() { - var total = Object.keys($scope.itemList.selected).length; - angular.forEach( - $scope.itemList.selected, - function(idx) { - var item = $scope.itemList.items.filter( - function(i) {return i.index == idx})[0]; - $scope.actions[action](item) - .then( - // when all items are done processing, reload the route - function(resp) { - if (--total == 0 && action != 'print') - $route.reload() - }, - function(resp) { - console.error("error in " + action + ": " + resp); - } - ); - } - ); - }; - } - ); - */ - $scope.drawTable = function() { $scope.itemList.items = []; var fullPath = orgSelector.relatedOrgs();