From 708d6878cedbf3463f587ff90aaeca6eb4955650 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Thu, 12 Nov 2009 15:11:14 +0100 Subject: [PATCH] Fix tasklist detection. --- kronolith/js/kronolith.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kronolith/js/kronolith.js b/kronolith/js/kronolith.js index fce244b34..60fc0e2b8 100644 --- a/kronolith/js/kronolith.js +++ b/kronolith/js/kronolith.js @@ -1442,7 +1442,7 @@ KronolithCore = { taskLists = []; // FIXME: Temporary hack to get the tasklists $H(Kronolith.conf.calendars.external).each(function(cal) { - if (cal.value.api = 'Tasks' && cal.value.show) + if (cal.key.startsWith('tasks') && cal.value.show) { taskLists.push(cal.key.substring(6)); } -- 2.11.0