all_reports.js 383 B

1234567891011121314151617
  1. $(function () {
  2. // load table
  3. var reportListTable = $('#report-list').DataTable({
  4. searching: true,
  5. pageLength: 10
  6. });
  7. // collapse click, toggle itself
  8. $('table#report-list .collapse').click(function () {
  9. $(this).collapse('toggle');
  10. });
  11. $('.agg-title').click(function () {
  12. var dupTitle = $(this).parents('.box-solid').find('.sup-title');
  13. dupTitle.toggle();
  14. });
  15. });