Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MantisGraph: new method to load chart.js resources
Since MantisBT 2.8.0, MantisGraph only loads chart.js for its own pages. This prevents other plugins from accessing these resources to publish their own charts, unless they bundle chart.js themselves. This commit exposes a dedicated public method include_chartjs() to include the library, separately from the plugin's standard resources() function. Fixes #27122
- Loading branch information
Showing
1 changed file
with
36 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters