Show due date, even if the task isn't due yet.
authorJan Schneider <jan@horde.org>
Fri, 12 Feb 2010 13:20:07 +0000 (14:20 +0100)
committerJan Schneider <jan@horde.org>
Fri, 12 Feb 2010 13:20:07 +0000 (14:20 +0100)
kronolith/js/kronolith.js

index c089969..5523341 100644 (file)
@@ -1691,9 +1691,9 @@ KronolithCore = {
                 now = new Date();
             if (!now.isBefore(date)) {
                 col.addClassName('kronolithTaskDue');
-                col.insert(new Element('SPAN', { 'class': 'kronolithSep' }).update(' &middot; '));
-                col.insert(new Element('SPAN', { 'class': 'kronolithDate' }).update(date.toString(Kronolith.conf.date_format)));
             }
+            col.insert(new Element('SPAN', { 'class': 'kronolithSep' }).update(' &middot; '));
+            col.insert(new Element('SPAN', { 'class': 'kronolithDate' }).update(date.toString(Kronolith.conf.date_format)));
         }
 
         if (!Object.isUndefined(task.value.sd)) {