From 5b3b3802b66ea1e644efe5cd5220382794e88ba8 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Mon, 7 Dec 2009 23:07:44 +0100 Subject: [PATCH] Don't insert future tasks delayed, for now. For some reason the timeout is triggered immediately for me, killing the browser in an infinite loop. --- kronolith/js/kronolith.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/kronolith/js/kronolith.js b/kronolith/js/kronolith.js index 941ff4c5f..5d0a53256 100644 --- a/kronolith/js/kronolith.js +++ b/kronolith/js/kronolith.js @@ -1694,16 +1694,6 @@ KronolithCore = { tasktypes.each(function(type) { var tasks = this.tcache.get(type).get(tasklist); $H(tasks).each(function(task) { - if (tasktype != 'all' && - !Object.isUndefined(task.value.start) && - task.value.start.isAfter(now)) { - (function() { - if (this.tasktype == tasktype) { - this._insertTasks(tasktype, tasklist); - } - }).bind(this).delay((task.value.start.getTime() - now.getTime()) / 1000); - } - switch (tasktype) { case 'complete': if (!task.value.cp || -- 2.11.0