From: Jason Stephenson Date: Sat, 8 Jan 2022 21:37:28 +0000 (-0500) Subject: Try to get value in toast X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=89df2ddc09a731d87337b710b3d02102ef875966;p=working%2FEvergreen.git Try to get value in toast --- 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 8098744bdc..56175a5c25 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 @@ -563,7 +563,7 @@ function($scope , $q , $window , $location , $timeout , egCore , egNet , egGridD itemSvc.updateInventory(copy_list, $scope.gridControls.allItems()).then(function(res) { if (res[0]) { $scope.success_count = res[0]; - ngToast.create(egCore.strings.SUCCESS_UPDATE_INVENTORY); + ngToast.open(scope: $scope, template: egCore.strings.SUCCESS_UPDATE_INVENTORY); } else { ngToast.warning(egCore.strings.FAIL_UPDATE_INVENTORY); }