diff --git a/web/skins/bootstrap/js/controllers.js b/web/skins/bootstrap/js/controllers.js index 7d62d6ac7..57618ec45 100644 --- a/web/skins/bootstrap/js/controllers.js +++ b/web/skins/bootstrap/js/controllers.js @@ -132,6 +132,7 @@ ZoneMinder.controller('EventsController', function($scope, Events, Console, $mod modalInstance.result.then(function (index) { $scope.events.splice(index, 1); + $scope.totalEvents = $scope.totalEvents - 1; }, function () { console.log('Modal dismissed at: ' + new Date()); }