[Tickets #11583] Re: "Tasks" view needs two clicks for correct display

noreply at bugs.horde.org noreply at bugs.horde.org
Wed Apr 17 12:51:20 UTC 2013


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/11583
------------------------------------------------------------------------------
  Ticket             | 11583
  Updated By         | Thomas Jarosch <thomas.jarosch at intra2net.com>
  Summary            | "Tasks" view needs two clicks for correct display
  Queue              | Kronolith
  Version            | Git master
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


Thomas Jarosch <thomas.jarosch at intra2net.com> (2013-04-17 12:51) wrote:

Hi,

> I insert:
> $('kronolithViewTasksBody').select('tr').findAll(function(el) {
>             return el.retrieve('tasklist') !== undefined;
>             //return el.retrieve('tasklist') == tasklist;
>         }).invoke('remove');
>
> before line "tasktypes.each(function(type) {" in loadTasks function  
> in kronolith.js

I tried your code and it fixes a part of the problem:
It remove the "stale" entries when switching categories.

Please try this on your side:
- Create a task with a "due" date in nag
- Switch to kronolith's Tasks view
- Go to the "All" tab and check the task
- Go to the "Completed" tab

Does the completed task show up?

For me it takes the usual round of switching categories to get it visible.






More information about the bugs mailing list