diff options
Diffstat (limited to 'templates/devel/packages.html')
-rw-r--r-- | templates/devel/packages.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/devel/packages.html b/templates/devel/packages.html index 4e1381ab..a62ae1ab 100644 --- a/templates/devel/packages.html +++ b/templates/devel/packages.html @@ -78,7 +78,9 @@ <script type="text/javascript"> $(document).ready(function() { $(".results").tablesorter({widgets: ['zebra']}); - filter_func = function() { filter_pkgs_list('#report_filter', '#dev-report-results tbody'); }; +}); +$(document).ready(function() { + var filter_func = function() { filter_pkgs_list('#report_filter', '#dev-report-results tbody'); }; $('#report_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 |