Bug: Broken <script> tag in dashboard template #113

Closed
opened 2026-06-06 11:50:08 +00:00 by jmiller · 1 comment
Owner

Audit Finding

Severity: Medium

Issue:
The dashboard template has a <script> tag loading Chart.js that is never properly closed. The CDN script tag is not terminated before the inline chart initialization code, so the dashboard chart won't render.

Fix: Add closing </script> tag after the Chart.js CDN src.

Files: tmpl/dashboard/default.php

## Audit Finding **Severity:** Medium **Issue:** The dashboard template has a `<script>` tag loading Chart.js that is never properly closed. The CDN script tag is not terminated before the inline chart initialization code, so the dashboard chart won't render. **Fix:** Add closing `</script>` tag after the Chart.js CDN src. **Files:** `tmpl/dashboard/default.php`
Author
Owner

Branch created: feature/113-bug-broken-script-tag-in-dashboard-templ

git fetch origin
git checkout feature/113-bug-broken-script-tag-in-dashboard-templ
Branch created: [`feature/113-bug-broken-script-tag-in-dashboard-templ`](https://git.mokoconsulting.tech/MokoConsulting/MokoJoomCross/src/branch/feature/113-bug-broken-script-tag-in-dashboard-templ) ```bash git fetch origin git checkout feature/113-bug-broken-script-tag-in-dashboard-templ ```
Sign in to join this conversation.
Type
Status
Priority
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoJoomCross#113