Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
Is there a way to set the "show completed tasks" to default instead of having to enable it everytime you refresh the page?
This is because we use the module with a group and it's a mess when they add things that have already been added before.
I tried to modify the .js file but didn't get it to work :/
It's most likely just 1 number that has to be changed, but I can't find it.
If somebody could help me out with it, that would be awesome!
Thanks!
Comments
Comment #1
kimble CreditAttribution: kimble commentedI never could set "show completed tasks" to be checked by default. It seems that action requires a click event to work and undoing that would require altering several parts of the code. However, I did get the result I wanted by adding
curList.showCompl = 1;
to the code snippet below which begins around line 770 of mytinytodo.js in the lib directory of the module. This hack did disable toggling though.Comment #2
fizk CreditAttribution: fizk commentedComment #3
mastoll CreditAttribution: mastoll as a volunteer commentedWhere is this "show completed tasks" function?
Edit: found in the tab's drop-down menu.
Comment #5
fizk CreditAttribution: fizk commentedI've added a new setting, "Always show completed tasks", which will appear under "Show completed tasks".