From e10d530d61d7389d9763892fe7d645e9c455d39c Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Fri, 25 Mar 2016 13:11:24 +0100 Subject: [PATCH] Do not update notify if already notified. --- app/assets/javascripts/app/lib/app_post/task_manager.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/app/lib/app_post/task_manager.coffee b/app/assets/javascripts/app/lib/app_post/task_manager.coffee index 027fcbc8e..1edea371e 100644 --- a/app/assets/javascripts/app/lib/app_post/task_manager.coffee +++ b/app/assets/javascripts/app/lib/app_post/task_manager.coffee @@ -335,6 +335,7 @@ class _taskManagerSingleton extends App.Controller task = @get(key) if !task throw "No such task with '#{key}' to notify" + return if task.notify task.notify = true @taskUpdate(task)