Edgewall Software

Opened 10 years ago

Last modified 7 years ago

#11550 closed defect

folding.js not available on report pages — at Initial Version

Reported by: kenclary@… Owned by:
Priority: normal Milestone: 1.3.2
Component: report system Version: 1.0.1
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

  • folding.js is not included on report pages
  • jQuery(".foldable").enableFolding(true, true) is not called on report pages

Via plugins (I'm using http://trac-hacks.org/wiki/CollapsiblePlugin, but I've found others that simply add "foldable" divs), it is possible to create collapsible sections in wiki formatted text, via a macro. This works great in wiki pages, and in tickets, but not in reports.

  • Report descriptions can contain wiki formatting
  • Report results (e.g. "SELECT foo AS description") can as well
  • Yet foldable sections work in neither.

I believe this could be fixed by adding folding.js to the script includes for report pages, and adding "$(".foldable").enableFolding(true, true);" to the jQuery(document).ready({…}) section.

Change History (0)

Note: See TracTickets for help on using tickets.