From: Jan Schneider Date: Mon, 7 Dec 2009 22:07:44 +0000 (+0100) Subject: Don't insert future tasks delayed, for now. For some reason the timeout is X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=5b3b3802b66ea1e644efe5cd5220382794e88ba8;p=horde.git 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. --- 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 ||