From b0b46606f83479cacce751c1a479dd29f4402796 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Tue, 26 Sep 2017 12:48:15 +0300 Subject: [PATCH] Working on time tracker --- resources/views/tasks/time_tracker_knockout.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/tasks/time_tracker_knockout.blade.php b/resources/views/tasks/time_tracker_knockout.blade.php index 07b4cf3bcc..98d3fbc234 100644 --- a/resources/views/tasks/time_tracker_knockout.blade.php +++ b/resources/views/tasks/time_tracker_knockout.blade.php @@ -509,7 +509,6 @@ } } else { self.update(response); - model.isStartEnabled(true); if (self.isRunning()) { if (self.time_log().length == 1) { toastr.success("{{ trans('texts.started_task') }}"); @@ -528,6 +527,7 @@ }).always(function() { setTimeout(function() { model.isSaveEnabled(true); + model.isStartEnabled(true); }, 1000); }); }