source: timingandestimationplugin/branches/trac1.0-Permissions/timingandestimationplugin/htdocs/report_filter.js

Last change on this file was 14061, checked in by Russ Tyndall, 9 years ago

branched for trac1.0

File size: 553 bytes
Line 
1
2// not exactly sure why this is required, but it didnt work in two
3// browsers before adding it and it did after
4window.setTimeout(function(){
5  jQuery(document).ready(function(){
6    // trac.12
7    jQuery('.reports > tbody > tr').each(function(){
8      if($(this).text().indexOf('Ticket Hours')>0
9         || $(this).text().indexOf('Work Summary')>0
10        ) $(this).detach();
11    });
12    //trac1.0
13    jQuery('.reports > div.collapsed').each(function(){
14      if($(this).text().indexOf('Management Screen')>0) $(this).detach();
15    });
16  });
17},250);
Note: See TracBrowser for help on using the repository browser.