summaryrefslogtreecommitdiff
path: root/templates/todolists
diff options
context:
space:
mode:
Diffstat (limited to 'templates/todolists')
-rw-r--r--templates/todolists/view.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/todolists/view.html b/templates/todolists/view.html
index eff81aaf..b6f59704 100644
--- a/templates/todolists/view.html
+++ b/templates/todolists/view.html
@@ -105,8 +105,10 @@ $(document).ready(function() {
sortList: [[2,0], [0,0]],
headers: { 5: { sorter: 'todostatus' } }
});
+});
+$(document).ready(function() {
$('a.status-link').click(todolist_flag);
- filter_func = function() { filter_pkgs_list('#todolist_filter', '#dev-todo-pkglist tbody'); };
+ var filter_func = function() { filter_pkgs_list('#todolist_filter', '#dev-todo-pkglist tbody'); };
$('#todolist_filter input').change(filter_func);
$('#criteria_reset').click(function() { filter_pkgs_reset(filter_func); });
// fire function on page load to ensure the current form selections take effect