diff options
Diffstat (limited to 'www/js')
| -rw-r--r-- | www/js/EventModalCtrl.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/EventModalCtrl.js b/www/js/EventModalCtrl.js index 7f926e80..1cbd8fa8 100644 --- a/www/js/EventModalCtrl.js +++ b/www/js/EventModalCtrl.js @@ -1725,7 +1725,7 @@ angular.module('zmApp.controllers').controller('EventModalCtrl', ['$scope', '$ro else if (dirn==2) { // this is called when you delete var id=""; - if ($scope.nextId > 0) id = $scope.nextId + if ($scope.nextId > 0) id = $scope.nextId ; else if ($scope.prevId > 0) id = $scope.prevId; NVRDataModel.debug ("after delete, moving to "+id); prepareModalEvent(id); |
