From 73b5277a659ede36343fd8e98272650760b3a7ee Mon Sep 17 00:00:00 2001 From: Jason Stephenson Date: Sat, 8 Jan 2022 16:51:08 -0500 Subject: [PATCH] Reset a couple of files --- Open-ILS/src/templates/staff/cat/item/index.tt2 | 2 +- Open-ILS/web/js/ui/default/staff/cat/item/app.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Open-ILS/src/templates/staff/cat/item/index.tt2 b/Open-ILS/src/templates/staff/cat/item/index.tt2 index 00636307c8..f200f6e308 100644 --- a/Open-ILS/src/templates/staff/cat/item/index.tt2 +++ b/Open-ILS/src/templates/staff/cat/item/index.tt2 @@ -33,7 +33,7 @@ s.OVERRIDE_TRANSFER_COPIES_TO_MARKED_VOLUME_BODY = "[% l('Reason(s) include: [_1]', '{{evt_desc}}') %]"; s.SUCCESS_UPDATE_INVENTORY = - "[% l('Updated most recent inventory data for [_1] items.', '{{success_count}}') %]"; + "[% l('Updated most recent inventory data for selected items.') %]"; s.FAIL_UPDATE_INVENTORY = "[% l('Failed to update recent inventory data for selected items.')%]"; s.ITEM_SUCCESSFULLY_MODIFIED = diff --git a/Open-ILS/web/js/ui/default/staff/cat/item/app.js b/Open-ILS/web/js/ui/default/staff/cat/item/app.js index 24652e5a03..0a9371ad1d 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/item/app.js +++ b/Open-ILS/web/js/ui/default/staff/cat/item/app.js @@ -562,8 +562,7 @@ function($scope , $q , $window , $location , $timeout , egCore , egNet , egGridD var copy_list = gatherSelectedHoldingsIds(); itemSvc.updateInventory(copy_list, $scope.gridControls.allItems()).then(function(res) { if (res[0]) { - $scope.success_count = res[0]; - ngToast.create({scope: $scope, template: egCore.strings.SUCCESS_UPDATE_INVENTORY}); + ngToast.create(egCore.strings.SUCCESS_UPDATE_INVENTORY); } else { ngToast.warning(egCore.strings.FAIL_UPDATE_INVENTORY); } -- 2.11.0