diff --git a/resources/views/tasks/time_tracker_knockout.blade.php b/resources/views/tasks/time_tracker_knockout.blade.php index a148ee0c91..ca29b32442 100644 --- a/resources/views/tasks/time_tracker_knockout.blade.php +++ b/resources/views/tasks/time_tracker_knockout.blade.php @@ -778,6 +778,7 @@ self.checkForOverlaps = function() { var lastTime = 0; var isValid = true; + var running = []; for (var i=0; i 1) { + $.each(running, function(i, time) { + time.isEndValid(false); + }); + isValid = false; + } } return isValid;