A fix for the fix
authorJason Stephenson <jason@sigio.com>
Sat, 8 Jan 2022 21:39:54 +0000 (16:39 -0500)
committerJason Stephenson <jason@sigio.com>
Sat, 8 Jan 2022 21:39:54 +0000 (16:39 -0500)
Open-ILS/web/js/ui/default/staff/cat/item/app.js

index 56175a5..6daaec6 100644 (file)
@@ -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.open(scope: $scope, template: egCore.strings.SUCCESS_UPDATE_INVENTORY);
+                ngToast.open({scope: $scope, template: egCore.strings.SUCCESS_UPDATE_INVENTORY});
             } else {
                 ngToast.warning(egCore.strings.FAIL_UPDATE_INVENTORY);
             }