MantisBT: master 4e82e3a5

Author Committer Branch Timestamp Parent
dregad dregad master 2020-05-25 23:36 master a1453788
Affected Issues  0027123: MantisGraph: stop using chart.js bundled build
Changeset

MantisGraph: stop using chart.js bundled build

The plugin currently links both chart.js and chart-bundle.js, which is
not necessary. The latter includes Moment.js, which is already part of
MantisBT since 2.0 (see layout_body_javascript() function), so using
the stand-alone build should be sufficient.

According to documentation [1] this could cause compatibility issues.

Fixes 0027123

mod - plugins/MantisGraph/MantisGraph.php Diff File
rm - plugins/MantisGraph/files/Chart.bundle-2.8.0.min.js Diff